summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/whrlpool
diff options
context:
space:
mode:
authormiod <>2014-05-01 11:11:37 +0000
committermiod <>2014-05-01 11:11:37 +0000
commit7b03fe01b152af99e43b7fc69af8ce116432c5ec (patch)
tree742a52c092c1ba5efcb3093ba62e773dd11f39b9 /src/lib/libcrypto/whrlpool
parent3cd5f8038dae82ff8e027c0a63eab71ece62b0fe (diff)
downloadopenbsd-7b03fe01b152af99e43b7fc69af8ce116432c5ec.tar.gz
openbsd-7b03fe01b152af99e43b7fc69af8ce116432c5ec.tar.bz2
openbsd-7b03fe01b152af99e43b7fc69af8ce116432c5ec.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/whrlpool')
-rw-r--r--src/lib/libcrypto/whrlpool/wp_dgst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/whrlpool/wp_dgst.c b/src/lib/libcrypto/whrlpool/wp_dgst.c
index 7e28bef51d..143a70f8bc 100644
--- a/src/lib/libcrypto/whrlpool/wp_dgst.c
+++ b/src/lib/libcrypto/whrlpool/wp_dgst.c
@@ -55,7 +55,7 @@
55#include <openssl/crypto.h> 55#include <openssl/crypto.h>
56#include <string.h> 56#include <string.h>
57 57
58fips_md_init(WHIRLPOOL) 58int WHIRLPOOL_Init(WHIRLPOOL_CTX *c)
59 { 59 {
60 memset (c,0,sizeof(*c)); 60 memset (c,0,sizeof(*c));
61 return(1); 61 return(1);