diff options
author | tb <> | 2024-03-26 22:44:57 +0000 |
---|---|---|
committer | tb <> | 2024-03-26 22:44:57 +0000 |
commit | 65bd488c6d80fe974291755ddba8488a52191544 (patch) | |
tree | 6f5afe86ec0b620c5500a8cfdff56611dd376cfb | |
parent | 12f8a52bb78af91d293bf443addece7158b6bcc3 (diff) | |
download | openbsd-65bd488c6d80fe974291755ddba8488a52191544.tar.gz openbsd-65bd488c6d80fe974291755ddba8488a52191544.tar.bz2 openbsd-65bd488c6d80fe974291755ddba8488a52191544.zip |
piuid and psuid have annoyed me for long enough
-rw-r--r-- | src/lib/libcrypto/x509/x509_set.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/libcrypto/x509/x509_set.c b/src/lib/libcrypto/x509/x509_set.c index 684a899781..4add8cf72d 100644 --- a/src/lib/libcrypto/x509/x509_set.c +++ b/src/lib/libcrypto/x509/x509_set.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_set.c,v 1.27 2024/03/26 11:09:37 tb Exp $ */ | 1 | /* $OpenBSD: x509_set.c,v 1.28 2024/03/26 22:44:57 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 | * |
@@ -257,12 +257,12 @@ X509_get_X509_PUBKEY(const X509 *x) | |||
257 | LCRYPTO_ALIAS(X509_get_X509_PUBKEY); | 257 | LCRYPTO_ALIAS(X509_get_X509_PUBKEY); |
258 | 258 | ||
259 | void | 259 | void |
260 | X509_get0_uids(const X509 *x, const ASN1_BIT_STRING **piuid, | 260 | X509_get0_uids(const X509 *x, const ASN1_BIT_STRING **issuerUID, |
261 | const ASN1_BIT_STRING **psuid) | 261 | const ASN1_BIT_STRING **subjectUID) |
262 | { | 262 | { |
263 | if (piuid != NULL) | 263 | if (issuerUID != NULL) |
264 | *piuid = x->cert_info->issuerUID; | 264 | *issuerUID = x->cert_info->issuerUID; |
265 | if (psuid != NULL) | 265 | if (subjectUID != NULL) |
266 | *psuid = x->cert_info->subjectUID; | 266 | *subjectUID = x->cert_info->subjectUID; |
267 | } | 267 | } |
268 | LCRYPTO_ALIAS(X509_get0_uids); | 268 | LCRYPTO_ALIAS(X509_get0_uids); |