]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/asn1/p5_pbe.c
Give everything prototypes (well, everything that's actually used).
[thirdparty/openssl.git] / crypto / asn1 / p5_pbe.c
index ec788267e0124aabdf48f5d07772731dba804e2f..9893dd5daf39a929544e93f1a50b91bef5f8aaaf 100644 (file)
@@ -106,7 +106,8 @@ X509_ALGOR *PKCS5_pbe_set(int alg, int iter, unsigned char *salt,
        }
 
        astype->type = V_ASN1_SEQUENCE;
-       if(!ASN1_pack_string(pbe, i2d_PBEPARAM, &astype->value.sequence)) {
+       if(!ASN1_pack_string_of(PBEPARAM, pbe, i2d_PBEPARAM,
+                               &astype->value.sequence)) {
                ASN1err(ASN1_F_ASN1_PBE_SET,ERR_R_MALLOC_FAILURE);
                goto err;
        }