From: Richard Levitte Date: Mon, 1 Jul 2024 13:28:14 +0000 (+0200) Subject: fix: openssl speed: RSA encryption is on the pubkey, not the privkey X-Git-Tag: openssl-3.3.2~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91708b594b3a0797f3ad371cc15ab67a3fe687ef;p=thirdparty%2Fopenssl.git 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) (cherry picked from commit bb90a7861cbf27e29790b66077c23a2e9805014b) --- diff --git a/apps/speed.c b/apps/speed.c index 2f1c8a6bf72..2fd18857921 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -3031,7 +3031,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);