summaryrefslogtreecommitdiffstats
path: root/crypto/rsa/rsa.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2006-04-09 12:53:55 +0000
committerDr. Stephen Henson <steve@openssl.org>2006-04-09 12:53:55 +0000
commit6471c9f4787d64c2942ea75073374d86f5aa6517 (patch)
tree1626021bcb609a9c6112ff7254c864b08a5396db /crypto/rsa/rsa.h
parent4a3dc3c0e34d44590b6565f8a8f5f4f5192df988 (diff)
Add checking to padding ctrl.
Diffstat (limited to 'crypto/rsa/rsa.h')
-rw-r--r--crypto/rsa/rsa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rsa/rsa.h b/crypto/rsa/rsa.h
index 2b03ede5fd..09db1c88de 100644
--- a/crypto/rsa/rsa.h
+++ b/crypto/rsa/rsa.h
@@ -193,7 +193,7 @@ struct rsa_st
*/
#define EVP_PKEY_CTX_set_rsa_padding(ctx, pad) \
- EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, EVP_PKEY_CTRL_RSA_PADDING, \
+ EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, -1, EVP_PKEY_CTRL_RSA_PADDING, \
pad, NULL)
#define EVP_PKEY_CTRL_RSA_PADDING 1