summaryrefslogtreecommitdiffstats
path: root/apps/rsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/rsa.c')
-rw-r--r--apps/rsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/rsa.c b/apps/rsa.c
index 05a091ce4b..97e9504a00 100644
--- a/apps/rsa.c
+++ b/apps/rsa.c
@@ -257,7 +257,7 @@ int rsa_main(int argc, char **argv)
ERR_print_errors(bio_err);
goto end;
}
- if (!EVP_PKEY_is_a(pkey, "RSA")) {
+ if (!EVP_PKEY_is_a(pkey, "RSA") && !EVP_PKEY_is_a(pkey, "RSA-PSS")) {
BIO_printf(bio_err, "Not an RSA key\n");
goto end;
}