From: tb Date: Tue, 26 Mar 2024 22:44:57 +0000 (+0000) Subject: piuid and psuid have annoyed me for long enough X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d08ab464aa6d2a2325549d25cc6fee3815e61722;p=openbsd piuid and psuid have annoyed me for long enough --- diff --git a/lib/libcrypto/x509/x509_set.c b/lib/libcrypto/x509/x509_set.c index 684a899781f..4add8cf72df 100644 --- a/lib/libcrypto/x509/x509_set.c +++ b/lib/libcrypto/x509/x509_set.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509_set.c,v 1.27 2024/03/26 11:09:37 tb Exp $ */ +/* $OpenBSD: x509_set.c,v 1.28 2024/03/26 22:44:57 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -257,12 +257,12 @@ X509_get_X509_PUBKEY(const X509 *x) LCRYPTO_ALIAS(X509_get_X509_PUBKEY); void -X509_get0_uids(const X509 *x, const ASN1_BIT_STRING **piuid, - const ASN1_BIT_STRING **psuid) +X509_get0_uids(const X509 *x, const ASN1_BIT_STRING **issuerUID, + const ASN1_BIT_STRING **subjectUID) { - if (piuid != NULL) - *piuid = x->cert_info->issuerUID; - if (psuid != NULL) - *psuid = x->cert_info->subjectUID; + if (issuerUID != NULL) + *issuerUID = x->cert_info->issuerUID; + if (subjectUID != NULL) + *subjectUID = x->cert_info->subjectUID; } LCRYPTO_ALIAS(X509_get0_uids);