diff options
author | tb <> | 2022-01-14 09:26:41 +0000 |
---|---|---|
committer | tb <> | 2022-01-14 09:26:41 +0000 |
commit | ff3c7a014d1a3f328a80f975cccae5a134a02efa (patch) | |
tree | f93a599e1ca7bedb38e95306bf7969bc8a3f306e | |
parent | 39261d6be5ea733b0d1102656d340fa546b83d9f (diff) | |
download | openbsd-ff3c7a014d1a3f328a80f975cccae5a134a02efa.tar.gz openbsd-ff3c7a014d1a3f328a80f975cccae5a134a02efa.tar.bz2 openbsd-ff3c7a014d1a3f328a80f975cccae5a134a02efa.zip |
Convert openssl(1) rsa.c for opaque RSA
ok inoguchi jsing
-rw-r--r-- | src/usr.bin/openssl/rsa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/rsa.c b/src/usr.bin/openssl/rsa.c index 0d331f6a9a..acc05ee0a4 100644 --- a/src/usr.bin/openssl/rsa.c +++ b/src/usr.bin/openssl/rsa.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rsa.c,v 1.15 2021/11/26 16:23:27 tb Exp $ */ | 1 | /* $OpenBSD: rsa.c,v 1.16 2022/01/14 09:26:41 tb 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 | * |
@@ -328,7 +328,7 @@ rsa_main(int argc, char **argv) | |||
328 | } | 328 | } |
329 | if (rsa_config.modulus) { | 329 | if (rsa_config.modulus) { |
330 | BIO_printf(out, "Modulus="); | 330 | BIO_printf(out, "Modulus="); |
331 | BN_print(out, rsa->n); | 331 | BN_print(out, RSA_get0_n(rsa)); |
332 | BIO_printf(out, "\n"); | 332 | BIO_printf(out, "\n"); |
333 | } | 333 | } |
334 | if (rsa_config.check) { | 334 | if (rsa_config.check) { |