Allow digests to supply S/MIME micalg values from a ctrl.
[openssl.git] / crypto / rsa / rsa_pmeth.c
index 6d21b50..333d567 100644 (file)
@@ -438,6 +438,7 @@ static int pkey_rsa_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2)
 
                case EVP_PKEY_CTRL_PKCS7_ENCRYPT:
                case EVP_PKEY_CTRL_PKCS7_DECRYPT:
+               case EVP_PKEY_CTRL_PKCS7_SIGN:
                return 1;
 
                default: