Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Braithwaite <mab@google.com>2015-08-13 05:01:15 +0300
committerAdam Langley <agl@google.com>2015-08-19 01:23:44 +0300
commit1f4881fb950f248be7dbdd98a7575bc0650f1116 (patch)
tree32b9d83a1c8056808012eacb1c54618776d235a4 /crypto/digest
parente13e4b2df1da7a0d1a3573dccdc5af57720bd46b (diff)
|EVP_get_digestbyname| and |EVP_get_digestbynid|: recognize MD4.
This benefits nodejs. Change-Id: I21bf7e64c2a44e96f27b427ad4bd44551c33221c Reviewed-on: https://boringssl-review.googlesource.com/5721 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/digest')
-rw-r--r--crypto/digest/digests.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/digest/digests.c b/crypto/digest/digests.c
index cdcc6f10..3307f265 100644
--- a/crypto/digest/digests.c
+++ b/crypto/digest/digests.c
@@ -262,6 +262,7 @@ struct nid_to_digest {
};
static const struct nid_to_digest nid_to_digest_mapping[] = {
+ { NID_md4, EVP_md4, SN_md4, LN_md4 },
{ NID_md5, EVP_md5, SN_md5, LN_md5 },
{ NID_sha1, EVP_sha1, SN_sha1, LN_sha1 },
{ NID_sha224, EVP_sha224, SN_sha224, LN_sha224 },