diff options
author | tb <> | 2023-03-10 16:43:02 +0000 |
---|---|---|
committer | tb <> | 2023-03-10 16:43:02 +0000 |
commit | b34a0b99ce675a286116522b02daea2294bf539e (patch) | |
tree | a922e7f78a4be57dab1ef0fa824893d804dc6aed /src/lib | |
parent | a91b508418797103e43791f39e4924495339c53a (diff) | |
download | openbsd-b34a0b99ce675a286116522b02daea2294bf539e.tar.gz openbsd-b34a0b99ce675a286116522b02daea2294bf539e.tar.bz2 openbsd-b34a0b99ce675a286116522b02daea2294bf539e.zip |
Expose X509_CRL_get0_sigalg() and X509_get0_uids
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/x509/x509.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h index e31f7182d3..7862307571 100644 --- a/src/lib/libcrypto/x509/x509.h +++ b/src/lib/libcrypto/x509/x509.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509.h,v 1.93 2023/02/23 18:12:32 job Exp $ */ | 1 | /* $OpenBSD: x509.h,v 1.94 2023/03/10 16:43:02 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 | * |
@@ -400,9 +400,7 @@ STACK_OF(X509_REVOKED) *X509_CRL_get_REVOKED(X509_CRL *crl); | |||
400 | void X509_CRL_get0_signature(const X509_CRL *crl, const ASN1_BIT_STRING **psig, | 400 | void X509_CRL_get0_signature(const X509_CRL *crl, const ASN1_BIT_STRING **psig, |
401 | const X509_ALGOR **palg); | 401 | const X509_ALGOR **palg); |
402 | 402 | ||
403 | #if defined(LIBRESSL_INTERNAL) || defined(LIBRESSL_NEXT_API) | ||
404 | const X509_ALGOR *X509_CRL_get0_tbs_sigalg(const X509_CRL *crl); | 403 | const X509_ALGOR *X509_CRL_get0_tbs_sigalg(const X509_CRL *crl); |
405 | #endif | ||
406 | 404 | ||
407 | int X509_REQ_get_signature_nid(const X509_REQ *req); | 405 | int X509_REQ_get_signature_nid(const X509_REQ *req); |
408 | 406 | ||
@@ -771,10 +769,8 @@ int ASN1_item_sign_ctx(const ASN1_ITEM *it, | |||
771 | #endif | 769 | #endif |
772 | 770 | ||
773 | const STACK_OF(X509_EXTENSION) *X509_get0_extensions(const X509 *x); | 771 | const STACK_OF(X509_EXTENSION) *X509_get0_extensions(const X509 *x); |
774 | #if defined(LIBRESSL_INTERNAL) || defined(LIBRESSL_NEXT_API) | ||
775 | void X509_get0_uids(const X509 *x, const ASN1_BIT_STRING **piuid, | 772 | void X509_get0_uids(const X509 *x, const ASN1_BIT_STRING **piuid, |
776 | const ASN1_BIT_STRING **psuid); | 773 | const ASN1_BIT_STRING **psuid); |
777 | #endif | ||
778 | const X509_ALGOR *X509_get0_tbs_sigalg(const X509 *x); | 774 | const X509_ALGOR *X509_get0_tbs_sigalg(const X509 *x); |
779 | int X509_set_version(X509 *x, long version); | 775 | int X509_set_version(X509 *x, long version); |
780 | long X509_get_version(const X509 *x); | 776 | long X509_get_version(const X509 *x); |