summaryrefslogtreecommitdiffstats
path: root/crypto/pkcs12/p12_crt.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-05-19 12:45:16 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-05-19 12:45:16 +0000
commite84240d42289a131def633579cfdabfb6ebf557d (patch)
treeec455fe5f4865fc28309c3e5f5762eec155b4f7d /crypto/pkcs12/p12_crt.c
parent054810ec0e02d7d15bf96945e2ea46d2e4147aa5 (diff)
New functions sk_set, sk_value and sk_num to replace existing macros: this is
to minimise the effects on existing code.
Diffstat (limited to 'crypto/pkcs12/p12_crt.c')
-rw-r--r--crypto/pkcs12/p12_crt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/pkcs12/p12_crt.c b/crypto/pkcs12/p12_crt.c
index 96cecc6efc..56d88b0759 100644
--- a/crypto/pkcs12/p12_crt.c
+++ b/crypto/pkcs12/p12_crt.c
@@ -77,7 +77,7 @@ PKCS12 *PKCS12_create(char *pass, char *name, EVP_PKEY *pkey, X509 *cert,
/* Set defaults */
if(!nid_cert) nid_cert = NID_pbe_WithSHA1And40BitRC2_CBC;
if(!nid_key) nid_key = NID_pbe_WithSHA1And3_Key_TripleDES_CBC;
- if(!iter) iter = 2048;
+ if(!iter) iter = PKCS12_DEFAULT_ITER;
if(!mac_iter) mac_iter = 1;
if(!pkey || !cert) {