]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
fix: openssl speed: RSA encryption is on the pubkey, not the privkey
authorRichard Levitte <levitte@openssl.org>
Mon, 1 Jul 2024 13:28:14 +0000 (15:28 +0200)
committerTomas Mraz <tomas@openssl.org>
Wed, 3 Jul 2024 09:24:07 +0000 (11:24 +0200)
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24776)

apps/speed.c

index 1fd7eb26b6279d9d1fa4ccad896198efe34fb232..c4508def6272aacedb3ceae8d9328a746a8d48a6 100644 (file)
@@ -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);