Allow public key ASN1 methods to set PKCS#7 SignerInfo structures.
[oweals/openssl.git] / crypto / rsa / rsa_pmeth.c
index 5f357b98c6f11d2d3295cfdfc4a658651a76d49a..01625a2ae7cf479ef6e0b94aa8408bab8571810b 100644 (file)
@@ -1,3 +1,4 @@
+/* crypto/rsa/rsa_pmeth.c */
 /* Written by Dr Stephen N Henson (shenson@bigfoot.com) for the OpenSSL
  * project 2006.
  */
@@ -497,7 +498,7 @@ static int pkey_rsa_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey)
 const EVP_PKEY_METHOD rsa_pkey_meth = 
        {
        EVP_PKEY_RSA,
-       0,
+       EVP_PKEY_FLAG_AUTOARGLEN,
        pkey_rsa_init,
        pkey_rsa_cleanup,