summaryrefslogtreecommitdiff
path: root/lib/libcrypto/whrlpool
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2014-05-01 11:11:38 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2014-05-01 11:11:38 +0000
commitbebaae60783f7988082ec33b18fa51ce18890230 (patch)
treecb4eb77ed7694a0105105e1179d39cca7794f04f /lib/libcrypto/whrlpool
parentb8eaef362ff94c78afc0e30cce0378c8be7a4361 (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.c3
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);