From 444ca4712a0791a9e0ee3d6e226598198a1c3580 Mon Sep 17 00:00:00 2001 From: tb <> Date: Mon, 27 May 2024 16:12:55 +0000 Subject: openssl x509: rename pub_key to dsa_pub_key suggested by jsing --- src/usr.bin/openssl/x509.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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 @@ -/* $OpenBSD: x509.c,v 1.38 2024/05/27 16:11:16 tb Exp $ */ +/* $OpenBSD: x509.c,v 1.39 2024/05/27 16:12:55 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1159,11 +1159,11 @@ x509_main(int argc, char **argv) BN_print(STDout, n); } else if (EVP_PKEY_id(pubkey) == EVP_PKEY_DSA) { DSA *dsa = EVP_PKEY_get0_DSA(pubkey); - const BIGNUM *pub_key = NULL; + const BIGNUM *dsa_pub_key = NULL; - DSA_get0_key(dsa, &pub_key, NULL); + DSA_get0_key(dsa, &dsa_pub_key, NULL); - BN_print(STDout, pub_key); + BN_print(STDout, dsa_pub_key); } else BIO_printf(STDout, "Wrong Algorithm type"); -- cgit v1.2.3-55-g6feb