Typo.
authorDr. Stephen Henson <steve@openssl.org>
Sun, 31 Mar 2013 16:42:46 +0000 (17:42 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 31 Mar 2013 16:43:42 +0000 (17:43 +0100)
(cherry picked from commit 0ded2a06891a4d5a207d8f29aa9a89a755158170)

crypto/rsa/rsa_pmeth.c

index b654b00ea865586ec3db98f69ea4551888f7dea7..2bba259657aa44ac44e87aa581a00a47c74964ba 100644 (file)
@@ -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"))