projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
150ebac
)
Place #ifdef OPENSSL_FIPS round the SHA-XXX functions in evp.h so mkdef.pl
author
Dr. Stephen Henson
<steve@openssl.org>
Tue, 17 May 2005 19:48:42 +0000
(19:48 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Tue, 17 May 2005 19:48:42 +0000
(19:48 +0000)
knows about it.
crypto/evp/evp.h
patch
|
blob
|
history
diff --git
a/crypto/evp/evp.h
b/crypto/evp/evp.h
index 4c165f8ddfdd512f1dc9452be66b54d76a987b3f..058dae09088496598cbc0d72362609ba33c8249b 100644
(file)
--- a/
crypto/evp/evp.h
+++ b/
crypto/evp/evp.h
@@
-646,6
+646,7
@@
const EVP_MD *EVP_sha(void);
const EVP_MD *EVP_sha1(void);
const EVP_MD *EVP_dss(void);
const EVP_MD *EVP_dss1(void);
+#ifdef OPENSSL_FIPS
#ifndef OPENSSL_NO_SHA256
const EVP_MD *EVP_sha224(void);
const EVP_MD *EVP_sha256(void);
@@
-655,6
+656,7
@@
const EVP_MD *EVP_sha384(void);
const EVP_MD *EVP_sha512(void);
#endif
#endif
+#endif
#ifndef OPENSSL_NO_MDC2
const EVP_MD *EVP_mdc2(void);
#endif