diff options
author | Richard Levitte <levitte@openssl.org> | 2017-07-06 10:11:17 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-08-15 12:54:47 +0200 |
commit | d46d2da41c75ff765c914bf1c19063e97c8c519a (patch) | |
tree | 463d6ee44ce54538cb6109999dee8ed2756bb53a /crypto/rsa/rsa_ameth.c | |
parent | 3735a900eddcb7a1355e43fa3ad8928db7837dcb (diff) |
Fix 'no-cms'
Fixes #3867
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3873)
Diffstat (limited to 'crypto/rsa/rsa_ameth.c')
-rw-r--r-- | crypto/rsa/rsa_ameth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rsa/rsa_ameth.c b/crypto/rsa/rsa_ameth.c index 951e1d5ca3..ddead3d744 100644 --- a/crypto/rsa/rsa_ameth.c +++ b/crypto/rsa/rsa_ameth.c @@ -768,6 +768,7 @@ static int rsa_item_sign(EVP_MD_CTX *ctx, const ASN1_ITEM *it, void *asn, return 2; } +#ifndef OPENSSL_NO_CMS static RSA_OAEP_PARAMS *rsa_oaep_decode(const X509_ALGOR *alg, X509_ALGOR **pmaskHash) { @@ -791,7 +792,6 @@ static RSA_OAEP_PARAMS *rsa_oaep_decode(const X509_ALGOR *alg, return pss; } -#ifndef OPENSSL_NO_CMS static int rsa_cms_decrypt(CMS_RecipientInfo *ri) { EVP_PKEY_CTX *pkctx; |