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/whrlpool | |
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/whrlpool')
-rw-r--r-- | lib/libcrypto/whrlpool/wp_dgst.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libcrypto/whrlpool/wp_dgst.c b/lib/libcrypto/whrlpool/wp_dgst.c index ee5c5c1bf3a..143a70f8bc1 100644 --- a/lib/libcrypto/whrlpool/wp_dgst.c +++ b/lib/libcrypto/whrlpool/wp_dgst.c @@ -52,9 +52,10 @@ */ #include "wp_locl.h" +#include <openssl/crypto.h> #include <string.h> -int WHIRLPOOL_Init (WHIRLPOOL_CTX *c) +int WHIRLPOOL_Init(WHIRLPOOL_CTX *c) { memset (c,0,sizeof(*c)); return(1); |