summaryrefslogtreecommitdiffstats
path: root/crypto/rsa
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2013-03-31 17:42:46 +0100
committerDr. Stephen Henson <steve@openssl.org>2013-03-31 17:43:58 +0100
commit79dabcc1373be17283d736901ddf9194609ba701 (patch)
tree93d682f08cf303b7ca7670e616a0c1451d8fc2cb /crypto/rsa
parent944bc29f9004cf8851427ebfa83ee70b8399da57 (diff)
Typo.
(cherry picked from commit 0ded2a06891a4d5a207d8f29aa9a89a755158170)
Diffstat (limited to 'crypto/rsa')
-rw-r--r--crypto/rsa/rsa_pmeth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/rsa/rsa_pmeth.c b/crypto/rsa/rsa_pmeth.c
index 5b2ecf56ad..157aa5c41d 100644
--- a/crypto/rsa/rsa_pmeth.c
+++ b/crypto/rsa/rsa_pmeth.c
@@ -611,6 +611,8 @@ static int pkey_rsa_ctrl_str(EVP_PKEY_CTX *ctx,
pm = RSA_NO_PADDING;
else if (!strcmp(value, "oeap"))
pm = RSA_PKCS1_OAEP_PADDING;
+ else if (!strcmp(value, "oaep"))
+ pm = RSA_PKCS1_OAEP_PADDING;
else if (!strcmp(value, "x931"))
pm = RSA_X931_PADDING;
else if (!strcmp(value, "pss"))