diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2022-10-04 15:31:03 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2022-10-04 15:31:03 +0000 |
commit | ff9ddf9653f44e8ba48546116f0851097183e0ba (patch) | |
tree | 2663c016409d8468554552359136ccc9c8aeab7e /usr.bin/openssl | |
parent | a4af72733b3aca261d5375e401aeb25e712ec6b8 (diff) |
fix an obvious thinko without serious consequences in the display of e
for rsa and friends.
okay tb@
Diffstat (limited to 'usr.bin/openssl')
-rw-r--r-- | usr.bin/openssl/genrsa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/openssl/genrsa.c b/usr.bin/openssl/genrsa.c index a199ba2e452..647b691e7f0 100644 --- a/usr.bin/openssl/genrsa.c +++ b/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; |