diff options
author | espie <> | 2022-10-04 15:31:02 +0000 |
---|---|---|
committer | espie <> | 2022-10-04 15:31:02 +0000 |
commit | 82b98f5847337e61b03d9bfbd6f348e9c97b9970 (patch) | |
tree | ee644c8b9bb3d3f89a73e9befd23ba01a616afcc | |
parent | eb1f34345d45ef5b5aa89fbbd6ddd691fb75f12e (diff) | |
download | openbsd-82b98f5847337e61b03d9bfbd6f348e9c97b9970.tar.gz openbsd-82b98f5847337e61b03d9bfbd6f348e9c97b9970.tar.bz2 openbsd-82b98f5847337e61b03d9bfbd6f348e9c97b9970.zip |
fix an obvious thinko without serious consequences in the display of e
for rsa and friends.
okay tb@
-rw-r--r-- | src/usr.bin/openssl/genrsa.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
1 | /* $OpenBSD: genrsa.c,v 1.19 2022/01/14 09:25:42 tb Exp $ */ | 1 | /* $OpenBSD: genrsa.c,v 1.20 2022/10/04 15:31:02 espie Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -346,7 +346,7 @@ genrsa_main(int argc, char **argv) | |||
346 | if ((rsa_e_dec = BN_bn2dec(RSA_get0_e(rsa))) == NULL) | 346 | if ((rsa_e_dec = BN_bn2dec(RSA_get0_e(rsa))) == NULL) |
347 | goto err; | 347 | goto err; |
348 | 348 | ||
349 | BIO_printf(bio_err, "e is %s (0x%s)\n", rsa_e_hex, rsa_e_dec); | 349 | BIO_printf(bio_err, "e is %s (0x%s)\n", rsa_e_dec, rsa_e_hex); |
350 | { | 350 | { |
351 | PW_CB_DATA cb_data; | 351 | PW_CB_DATA cb_data; |
352 | cb_data.password = passout; | 352 | cb_data.password = passout; |