]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/cmp/cmp_protect.c
Run the withlibctx.pl script
[thirdparty/openssl.git] / crypto / cmp / cmp_protect.c
index eb162e382da8a3fe2dec7fa1b77644c551bfbac1..9b28f1b09ba47caffcee332f731df970a71ddfbb 100644 (file)
@@ -119,9 +119,9 @@ ASN1_BIT_STRING *ossl_cmp_calc_protection(const OSSL_CMP_CTX *ctx,
 
         if ((prot = ASN1_BIT_STRING_new()) == NULL)
             return NULL;
-        if (ASN1_item_sign_with_libctx(ASN1_ITEM_rptr(OSSL_CMP_PROTECTEDPART),
-                                       NULL, NULL, prot, &prot_part, NULL,
-                                       ctx->pkey, md, ctx->libctx, ctx->propq))
+        if (ASN1_item_sign_ex(ASN1_ITEM_rptr(OSSL_CMP_PROTECTEDPART), NULL,
+                              NULL, prot, &prot_part, NULL, ctx->pkey, md,
+                              ctx->libctx, ctx->propq))
             return prot;
         ASN1_BIT_STRING_free(prot);
         return NULL;