diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-04-09 12:53:55 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-04-09 12:53:55 +0000 |
commit | 6471c9f4787d64c2942ea75073374d86f5aa6517 (patch) | |
tree | 1626021bcb609a9c6112ff7254c864b08a5396db /crypto/rsa/rsa.h | |
parent | 4a3dc3c0e34d44590b6565f8a8f5f4f5192df988 (diff) |
Add checking to padding ctrl.
Diffstat (limited to 'crypto/rsa/rsa.h')
-rw-r--r-- | crypto/rsa/rsa.h | 2 |
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 |