summaryrefslogtreecommitdiffstats
path: root/crypto/evp
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-04-05 15:24:10 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-04-05 15:24:10 +0000
commit05e24c87dd1428809d6eaebf754b472a6cb4bb50 (patch)
treedb17782a6020c7f4962f8bf9c1666f6f19356e1a /crypto/evp
parentcab0595c1426b2f70d88b824028c6d1ef4a4476e (diff)
Extensive reorganisation of PRNG handling in FIPS module: all calls
now use an internal RAND_METHOD. All dependencies to OpenSSL standard PRNG are now removed: it is the applications resposibility to setup the FIPS PRNG and initalise it. Initial OpenSSL RAND_init_fips() function that will setup the DRBG for the "FIPS capable OpenSSL".
Diffstat (limited to 'crypto/evp')
-rw-r--r--crypto/evp/e_des3.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/evp/e_des3.c b/crypto/evp/e_des3.c
index 785d76b5bd..2f016f0431 100644
--- a/crypto/evp/e_des3.c
+++ b/crypto/evp/e_des3.c
@@ -56,6 +56,8 @@
* [including the GNU Public Licence.]
*/
+#define OPENSSL_FIPSAPI
+
#include <stdio.h>
#include "cryptlib.h"
#ifndef OPENSSL_NO_DES