diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2012-03-11 13:40:05 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2012-03-11 13:40:05 +0000 |
commit | c0b31ccb87679783c355616aa7c6c6e97eeb9c5d (patch) | |
tree | 0cfca1a70966a378243ae282c430b4a8017ac797 /engines/ccgost/gost_pmeth.c | |
parent | 267c950c5f05c537c8e0fa012b39220b68da0944 (diff) |
PR: 2744
Submitted by: Dmitry Belyavsky <beldmit@gmail.com>
CMS support for ccgost engine
Diffstat (limited to 'engines/ccgost/gost_pmeth.c')
-rw-r--r-- | engines/ccgost/gost_pmeth.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/ccgost/gost_pmeth.c b/engines/ccgost/gost_pmeth.c index 0bd08e9301..f91c9b1939 100644 --- a/engines/ccgost/gost_pmeth.c +++ b/engines/ccgost/gost_pmeth.c @@ -89,6 +89,12 @@ static int pkey_gost_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: + case EVP_PKEY_CTRL_DIGESTINIT: +#ifndef OPENSSL_NO_CMS + case EVP_PKEY_CTRL_CMS_ENCRYPT: + case EVP_PKEY_CTRL_CMS_DECRYPT: + case EVP_PKEY_CTRL_CMS_SIGN: +#endif return 1; case EVP_PKEY_CTRL_GOST_PARAMSET: |