diff options
Diffstat (limited to 'openpgp/src/crypto/backend/sha1cd.rs')
-rw-r--r-- | openpgp/src/crypto/backend/sha1cd.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openpgp/src/crypto/backend/sha1cd.rs b/openpgp/src/crypto/backend/sha1cd.rs index 2e00652d..7daf8ac1 100644 --- a/openpgp/src/crypto/backend/sha1cd.rs +++ b/openpgp/src/crypto/backend/sha1cd.rs @@ -10,6 +10,10 @@ pub(crate) fn build() -> sha1collisiondetection::Sha1CD { } impl Digest for sha1collisiondetection::Sha1CD { + fn algo(&self) -> crate::types::HashAlgorithm { + crate::types::HashAlgorithm::SHA1 + } + fn digest_size(&self) -> usize { 20 } |