crypto/evp/e_aes.c: fix logical pre-processor bug and formatting.
[openssl.git] / crypto / rsa / rsa_pmeth.c
index 5b2ecf56adc7343b8661ac4c9c4222a00dde5a10..157aa5c41d2af2b6019a7365427b6468e2fbc179 100644 (file)
@@ -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"))