diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2014-05-01 11:11:38 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2014-05-01 11:11:38 +0000 |
commit | bebaae60783f7988082ec33b18fa51ce18890230 (patch) | |
tree | cb4eb77ed7694a0105105e1179d39cca7794f04f /lib/libcrypto/md5/md5_dgst.c | |
parent | b8eaef362ff94c78afc0e30cce0378c8be7a4361 (diff) |
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 'lib/libcrypto/md5/md5_dgst.c')
-rw-r--r-- | lib/libcrypto/md5/md5_dgst.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/md5/md5_dgst.c b/lib/libcrypto/md5/md5_dgst.c index 265890de52b..dffddf44d95 100644 --- a/lib/libcrypto/md5/md5_dgst.c +++ b/lib/libcrypto/md5/md5_dgst.c @@ -71,7 +71,7 @@ const char MD5_version[]="MD5" OPENSSL_VERSION_PTEXT; #define INIT_DATA_C (unsigned long)0x98badcfeL #define INIT_DATA_D (unsigned long)0x10325476L -fips_md_init(MD5) +int MD5_Init(MD5_CTX *c) { memset (c,0,sizeof(*c)); c->A=INIT_DATA_A; |