summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/mdc2
diff options
context:
space:
mode:
authormiod <>2014-05-01 11:11:37 +0000
committermiod <>2014-05-01 11:11:37 +0000
commit6c7ffb4b7a079345412446d1834b9a6b03ca51ac (patch)
tree742a52c092c1ba5efcb3093ba62e773dd11f39b9 /src/lib/libcrypto/mdc2
parent563227b9fdd964b9f2614e56b7ccd7151c8b6ebd (diff)
downloadopenbsd-6c7ffb4b7a079345412446d1834b9a6b03ca51ac.tar.gz
openbsd-6c7ffb4b7a079345412446d1834b9a6b03ca51ac.tar.bz2
openbsd-6c7ffb4b7a079345412446d1834b9a6b03ca51ac.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')
-rw-r--r--src/lib/libcrypto/mdc2/mdc2dgst.c2
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
78static void mdc2_body(MDC2_CTX *c, const unsigned char *in, size_t len); 78static void mdc2_body(MDC2_CTX *c, const unsigned char *in, size_t len);
79fips_md_init(MDC2) 79int 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;