Index: openssl/crypto/pkcs12/p12_crt.c |
=================================================================== |
--- openssl/crypto/pkcs12/p12_crt.c (revision 105093) |
+++ openssl/crypto/pkcs12/p12_crt.c (working copy) |
@@ -59,12 +59,8 @@ |
#include <stdio.h> |
#include "cryptlib.h" |
#include <openssl/pkcs12.h> |
-#ifdef OPENSSL_FIPS |
-#include <openssl/fips.h> |
-#endif |
- |
static int pkcs12_add_bag(STACK_OF(PKCS12_SAFEBAG) **pbags, PKCS12_SAFEBAG *bag); |
static int copy_bag_attr(PKCS12_SAFEBAG *bag, EVP_PKEY *pkey, int nid) |
@@ -94,14 +90,7 @@ |
/* Set defaults */ |
if (!nid_cert) |
- { |
-#ifdef OPENSSL_FIPS |
- if (FIPS_mode()) |
- nid_cert = NID_pbe_WithSHA1And3_Key_TripleDES_CBC; |
- else |
-#endif |
nid_cert = NID_pbe_WithSHA1And40BitRC2_CBC; |
- } |
if (!nid_key) |
nid_key = NID_pbe_WithSHA1And3_Key_TripleDES_CBC; |
if (!iter) |