summaryrefslogtreecommitdiffstats
path: root/crypto/rsa/rsa_pmeth.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2006-05-08 12:44:25 +0000
committerDr. Stephen Henson <steve@openssl.org>2006-05-08 12:44:25 +0000
commit399a6f0bd179960209df83b548ba5869acfdab86 (patch)
tree03b39c6ed4ed5ced3e15fec921c325a68c09f7b0 /crypto/rsa/rsa_pmeth.c
parent3d47929968c1108d4a98e49117f8ca46b1c5bfb7 (diff)
Update PKCS#7 enveloped data to new API.
Diffstat (limited to 'crypto/rsa/rsa_pmeth.c')
-rw-r--r--crypto/rsa/rsa_pmeth.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/rsa/rsa_pmeth.c b/crypto/rsa/rsa_pmeth.c
index 01625a2ae7..01a4030f16 100644
--- a/crypto/rsa/rsa_pmeth.c
+++ b/crypto/rsa/rsa_pmeth.c
@@ -405,6 +405,10 @@ static int pkey_rsa_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2)
rctx->md = p2;
return 1;
+ case EVP_PKEY_CTRL_PKCS7_ENCRYPT:
+ case EVP_PKEY_CTRL_PKCS7_DECRYPT:
+ return 1;
+
default:
return -2;