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/mdc2/mdc2dgst.c | |
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/mdc2/mdc2dgst.c')
-rw-r--r-- | src/lib/libcrypto/mdc2/mdc2dgst.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/mdc2/mdc2dgst.c b/src/lib/libcrypto/mdc2/mdc2dgst.c index d66ed6a1c6..302f9ab9a8 100644 --- a/src/lib/libcrypto/mdc2/mdc2dgst.c +++ b/src/lib/libcrypto/mdc2/mdc2dgst.c | |||
@@ -76,7 +76,7 @@ | |||
76 | *((c)++)=(unsigned char)(((l)>>24L)&0xff)) | 76 | *((c)++)=(unsigned char)(((l)>>24L)&0xff)) |
77 | 77 | ||
78 | static void mdc2_body(MDC2_CTX *c, const unsigned char *in, size_t len); | 78 | static void mdc2_body(MDC2_CTX *c, const unsigned char *in, size_t len); |
79 | fips_md_init(MDC2) | 79 | int MDC2_Init(MDC2_CTX *c) |
80 | { | 80 | { |
81 | c->num=0; | 81 | c->num=0; |
82 | c->pad_type=1; | 82 | c->pad_type=1; |