From bb90a7861cbf27e29790b66077c23a2e9805014b Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 1 Jul 2024 15:28:14 +0200 Subject: [PATCH] fix: openssl speed: RSA encryption is on the pubkey, not the privkey Reviewed-by: Neil Horman Reviewed-by: Tom Cosgrove Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/24776) --- apps/speed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/speed.c b/apps/speed.c index 1fd7eb26b6..c4508def62 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -3051,7 +3051,7 @@ int speed_main(int argc, char **argv) ERR_print_errors(bio_err); op_count = 1; } else { - pkey_print_message("private", "rsa encrypt", + pkey_print_message("public", "rsa encrypt", rsa_keys[testnum].bits, seconds.rsa); /* RSA_blinding_on(rsa_key[testnum],NULL); */ Time_F(START);