Skip to content

Commit

Permalink
Merge pull request #192 from kpp/master
Browse files Browse the repository at this point in the history
PartialEq implementation for sodiumoxide::crypto::generichash::Digest has compared itself to itself
  • Loading branch information
tarcieri authored Oct 11, 2019
2 parents ba8504f + fd955ac commit 4ee77db
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions crates/sodiumoxide/RUSTSEC-0000-0000.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[advisory]
id = "RUSTSEC-0000-0000"
package = "sodiumoxide"
date = "2019-10-11"
url = "https://github.com/sodiumoxide/sodiumoxide/pull/381"

title = "generichash::Digest::eq always return true"
description = """
PartialEq implementation for generichash::Digest has compared itself to itself.
Digest::eq always returns true and Digest::ne always returns false.
"""
patched_versions = [">= 0.2.5"]
keywords = ["cryptography"]

[affected.functions]
"sodiumoxide::crypto::generichash::Digest::eq" = ["< 0.2.5, >= 0.1.0"]
"sodiumoxide::crypto::generichash::Digest::ne" = ["< 0.2.5, >= 0.1.0"]

0 comments on commit 4ee77db

Please sign in to comment.