summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/md5
diff options
context:
space:
mode:
authormiod <>2014-05-01 11:11:37 +0000
committermiod <>2014-05-01 11:11:37 +0000
commit6c7ffb4b7a079345412446d1834b9a6b03ca51ac (patch)
tree742a52c092c1ba5efcb3093ba62e773dd11f39b9 /src/lib/libcrypto/md5
parent563227b9fdd964b9f2614e56b7ccd7151c8b6ebd (diff)
downloadopenbsd-6c7ffb4b7a079345412446d1834b9a6b03ca51ac.tar.gz
openbsd-6c7ffb4b7a079345412446d1834b9a6b03ca51ac.tar.bz2
openbsd-6c7ffb4b7a079345412446d1834b9a6b03ca51ac.zip
Remove fips_md_init() macro indirection for digest algorithms, used by the
OpenSSL FIPS module to prevent forbidden digests to be allowed. No functional change but readability. ok deraadt@
Diffstat (limited to 'src/lib/libcrypto/md5')
-rw-r--r--src/lib/libcrypto/md5/md5_dgst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/md5/md5_dgst.c b/src/lib/libcrypto/md5/md5_dgst.c
index 265890de52..dffddf44d9 100644
--- a/src/lib/libcrypto/md5/md5_dgst.c
+++ b/src/lib/libcrypto/md5/md5_dgst.c
@@ -71,7 +71,7 @@ const char MD5_version[]="MD5" OPENSSL_VERSION_PTEXT;
71#define INIT_DATA_C (unsigned long)0x98badcfeL 71#define INIT_DATA_C (unsigned long)0x98badcfeL
72#define INIT_DATA_D (unsigned long)0x10325476L 72#define INIT_DATA_D (unsigned long)0x10325476L
73 73
74fips_md_init(MD5) 74int MD5_Init(MD5_CTX *c)
75 { 75 {
76 memset (c,0,sizeof(*c)); 76 memset (c,0,sizeof(*c));
77 c->A=INIT_DATA_A; 77 c->A=INIT_DATA_A;