Skip to content

Commit

Permalink
PartialEq implementation for sodiumoxide::crypto::generichash::Digest…
Browse files Browse the repository at this point in the history
… has compared itself to itself
  • Loading branch information
kpp committed Oct 11, 2019
1 parent ba8504f commit fd955ac
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 fd955ac

Please sign in to comment.