diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-07-10 20:36:55 +0200 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-07-10 20:36:55 +0200 |
commit | b7683e3a5d93aa5319263b7bbfd0fee18f25955e (patch) | |
tree | 25f7f84a90273ae2ff3bfaf1e25052f1cf1ce5be /crypto/rsa | |
parent | New functions to add and free up application defined signature OIDs. (diff) | |
download | openssl-b7683e3a5d93aa5319263b7bbfd0fee18f25955e.tar.xz openssl-b7683e3a5d93aa5319263b7bbfd0fee18f25955e.zip |
Allow digests to supply S/MIME micalg values from a ctrl.
Send ctrls to EVP_PKEY_METHOD during signing of PKCS7 structure so
customisation is possible.
Diffstat (limited to 'crypto/rsa')
-rw-r--r-- | crypto/rsa/rsa_pmeth.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/rsa/rsa_pmeth.c b/crypto/rsa/rsa_pmeth.c index 6d21b50d6d..333d5675ac 100644 --- a/crypto/rsa/rsa_pmeth.c +++ b/crypto/rsa/rsa_pmeth.c @@ -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: |