aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ec
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2006-07-10 18:36:55 +0000
committerDr. Stephen Henson <steve@openssl.org>2006-07-10 18:36:55 +0000
commitb7683e3a5d93aa5319263b7bbfd0fee18f25955e (patch)
tree25f7f84a90273ae2ff3bfaf1e25052f1cf1ce5be /crypto/ec
parent0ee2166cc50cffba02514b686c6bf75c76ff2e62 (diff)
downloadopenssl-b7683e3a5d93aa5319263b7bbfd0fee18f25955e.tar.gz
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/ec')
-rw-r--r--crypto/ec/ec_pmeth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/ec/ec_pmeth.c b/crypto/ec/ec_pmeth.c
index caaeebdb6d..31d44d9449 100644
--- a/crypto/ec/ec_pmeth.c
+++ b/crypto/ec/ec_pmeth.c
@@ -230,6 +230,7 @@ static int pkey_ec_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2)
case EVP_PKEY_CTRL_PEER_KEY:
/* Default behaviour is OK */
+ case EVP_PKEY_CTRL_PKCS7_SIGN:
return 1;
default: