Skip to content

encoding/mvt: remove use of crypto/md5 to compare marshalling in tests#118

Merged
paulmach merged 1 commit intomasterfrom
rm-md5
Jan 6, 2023
Merged

encoding/mvt: remove use of crypto/md5 to compare marshalling in tests#118
paulmach merged 1 commit intomasterfrom
rm-md5

Conversation

@paulmach
Copy link
Copy Markdown
Owner

@paulmach paulmach commented Jan 5, 2023

In #93 we sorted property keys to make the marshalling stable. The test for this used crypto/md5 to compare the marshallings.

@pkumar0508 mentioned the use of crypto/md5 as a problem.

New dependencies on crypto/md5 have been disallowed in the codebase I'm trying to use github.com/paulmach/orb in.

Just removing it and doing a direct byte comparison.

@paulmach paulmach merged commit 07e2162 into master Jan 6, 2023
@paulmach paulmach deleted the rm-md5 branch January 6, 2023 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant