diff options
author | miod <> | 2014-05-01 11:11:37 +0000 |
---|---|---|
committer | miod <> | 2014-05-01 11:11:37 +0000 |
commit | 7b03fe01b152af99e43b7fc69af8ce116432c5ec (patch) | |
tree | 742a52c092c1ba5efcb3093ba62e773dd11f39b9 /src/lib/libcrypto/ripemd | |
parent | 3cd5f8038dae82ff8e027c0a63eab71ece62b0fe (diff) | |
download | openbsd-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/ripemd')
-rw-r--r-- | src/lib/libcrypto/ripemd/rmd_dgst.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ripemd/rmd_dgst.c b/src/lib/libcrypto/ripemd/rmd_dgst.c index d8e72da51b..74dbcd0c75 100644 --- a/src/lib/libcrypto/ripemd/rmd_dgst.c +++ b/src/lib/libcrypto/ripemd/rmd_dgst.c | |||
@@ -70,7 +70,7 @@ const char RMD160_version[]="RIPE-MD160" OPENSSL_VERSION_PTEXT; | |||
70 | void ripemd160_block(RIPEMD160_CTX *c, unsigned long *p,size_t num); | 70 | void ripemd160_block(RIPEMD160_CTX *c, unsigned long *p,size_t num); |
71 | # endif | 71 | # endif |
72 | 72 | ||
73 | fips_md_init(RIPEMD160) | 73 | int RIPEMD160_Init(RIPEMD160_CTX *c) |
74 | { | 74 | { |
75 | memset (c,0,sizeof(*c)); | 75 | memset (c,0,sizeof(*c)); |
76 | c->A=RIPEMD160_A; | 76 | c->A=RIPEMD160_A; |