diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-05-08 12:44:25 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-05-08 12:44:25 +0000 |
commit | 399a6f0bd179960209df83b548ba5869acfdab86 (patch) | |
tree | 03b39c6ed4ed5ced3e15fec921c325a68c09f7b0 /crypto/rsa | |
parent | 3d47929968c1108d4a98e49117f8ca46b1c5bfb7 (diff) |
Update PKCS#7 enveloped data to new API.
Diffstat (limited to 'crypto/rsa')
-rw-r--r-- | crypto/rsa/rsa_pmeth.c | 4 |
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; |