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.4.0-alpha1~416 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bb90a7861cbf27e29790b66077c23a2e9805014b;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) --- diff --git a/apps/speed.c b/apps/speed.c index 1fd7eb26b62..c4508def627 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);