New functions sk_set, sk_value and sk_num to replace existing macros: this is
[openssl.git] / crypto / pkcs12 / p12_crt.c
index 96cecc6efc6643e136c5f4859ea2c003b6170ad2..56d88b07596cd553568ae821f3d2d87e325c3b57 100644 (file)
@@ -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) {