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:42 +0100
commita8cc9f1873f6fe63f6391635178f3fea66c585f2 (patch)
tree85c49f178c80ddedccddebdaecdfb00edc0b8b8e /crypto/rsa
parentf25c3c05428705b71950fd390a4b712baceb5fcc (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 b654b00ea8..2bba259657 100644
--- a/crypto/rsa/rsa_pmeth.c
+++ b/crypto/rsa/rsa_pmeth.c
@@ -621,6 +621,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"))