diff options
author | tb <> | 2024-05-27 16:12:55 +0000 |
---|---|---|
committer | tb <> | 2024-05-27 16:12:55 +0000 |
commit | 444ca4712a0791a9e0ee3d6e226598198a1c3580 (patch) | |
tree | 86d523dedd42855bbc07ca328950f928ee8d1fda /src | |
parent | 8082b9b1d97da5d07cde8581070971133073aba6 (diff) | |
download | openbsd-444ca4712a0791a9e0ee3d6e226598198a1c3580.tar.gz openbsd-444ca4712a0791a9e0ee3d6e226598198a1c3580.tar.bz2 openbsd-444ca4712a0791a9e0ee3d6e226598198a1c3580.zip |
openssl x509: rename pub_key to dsa_pub_key
suggested by jsing
Diffstat (limited to 'src')
-rw-r--r-- | src/usr.bin/openssl/x509.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr.bin/openssl/x509.c b/src/usr.bin/openssl/x509.c index 5f27b3ae6f..1ebdfb005f 100644 --- a/src/usr.bin/openssl/x509.c +++ b/src/usr.bin/openssl/x509.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509.c,v 1.38 2024/05/27 16:11:16 tb Exp $ */ | 1 | /* $OpenBSD: x509.c,v 1.39 2024/05/27 16:12:55 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 | * |
@@ -1159,11 +1159,11 @@ x509_main(int argc, char **argv) | |||
1159 | BN_print(STDout, n); | 1159 | BN_print(STDout, n); |
1160 | } else if (EVP_PKEY_id(pubkey) == EVP_PKEY_DSA) { | 1160 | } else if (EVP_PKEY_id(pubkey) == EVP_PKEY_DSA) { |
1161 | DSA *dsa = EVP_PKEY_get0_DSA(pubkey); | 1161 | DSA *dsa = EVP_PKEY_get0_DSA(pubkey); |
1162 | const BIGNUM *pub_key = NULL; | 1162 | const BIGNUM *dsa_pub_key = NULL; |
1163 | 1163 | ||
1164 | DSA_get0_key(dsa, &pub_key, NULL); | 1164 | DSA_get0_key(dsa, &dsa_pub_key, NULL); |
1165 | 1165 | ||
1166 | BN_print(STDout, pub_key); | 1166 | BN_print(STDout, dsa_pub_key); |
1167 | } else | 1167 | } else |
1168 | BIO_printf(STDout, | 1168 | BIO_printf(STDout, |
1169 | "Wrong Algorithm type"); | 1169 | "Wrong Algorithm type"); |