Fix more certificate related lib_ctx settings.
[openssl.git] / crypto / asn1 / a_sign.c
index 911d61453a3d495e2b7c9058a59970521b5eb245..fe55373b34ab768481528e75d9005fc5eac57b6a 100644 (file)
@@ -136,6 +136,7 @@ int ASN1_item_sign_ex(const ASN1_ITEM *it, X509_ALGOR *algor1,
         ERR_raise(ERR_LIB_ASN1, ERR_R_MALLOC_FAILURE);
         return 0;
     }
+    /* We can use the non _ex variant here since the pkey is already setup */
     if (!EVP_DigestSignInit(ctx, NULL, md, NULL, pkey))
         goto err;