From 82b98f5847337e61b03d9bfbd6f348e9c97b9970 Mon Sep 17 00:00:00 2001 From: espie <> Date: Tue, 4 Oct 2022 15:31:02 +0000 Subject: fix an obvious thinko without serious consequences in the display of e for rsa and friends. okay tb@ --- src/usr.bin/openssl/genrsa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/usr.bin/openssl/genrsa.c b/src/usr.bin/openssl/genrsa.c index a199ba2e45..647b691e7f 100644 --- a/src/usr.bin/openssl/genrsa.c +++ b/src/usr.bin/openssl/genrsa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: genrsa.c,v 1.19 2022/01/14 09:25:42 tb Exp $ */ +/* $OpenBSD: genrsa.c,v 1.20 2022/10/04 15:31:02 espie Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -346,7 +346,7 @@ genrsa_main(int argc, char **argv) if ((rsa_e_dec = BN_bn2dec(RSA_get0_e(rsa))) == NULL) goto err; - BIO_printf(bio_err, "e is %s (0x%s)\n", rsa_e_hex, rsa_e_dec); + BIO_printf(bio_err, "e is %s (0x%s)\n", rsa_e_dec, rsa_e_hex); { PW_CB_DATA cb_data; cb_data.password = passout; -- cgit v1.2.3-55-g6feb