Skip to content

Commit 4ee77db

Browse files
authored
Merge pull request #192 from kpp/master
PartialEq implementation for sodiumoxide::crypto::generichash::Digest has compared itself to itself
2 parents ba8504f + fd955ac commit 4ee77db

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[advisory]
2+
id = "RUSTSEC-0000-0000"
3+
package = "sodiumoxide"
4+
date = "2019-10-11"
5+
url = "https://github.com/sodiumoxide/sodiumoxide/pull/381"
6+
7+
title = "generichash::Digest::eq always return true"
8+
description = """
9+
PartialEq implementation for generichash::Digest has compared itself to itself.
10+
11+
Digest::eq always returns true and Digest::ne always returns false.
12+
"""
13+
patched_versions = [">= 0.2.5"]
14+
keywords = ["cryptography"]
15+
16+
[affected.functions]
17+
"sodiumoxide::crypto::generichash::Digest::eq" = ["< 0.2.5, >= 0.1.0"]
18+
"sodiumoxide::crypto::generichash::Digest::ne" = ["< 0.2.5, >= 0.1.0"]

0 commit comments

Comments
 (0)