summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2023-03-10 16:43:02 +0000
committertb <>2023-03-10 16:43:02 +0000
commitb34a0b99ce675a286116522b02daea2294bf539e (patch)
treea922e7f78a4be57dab1ef0fa824893d804dc6aed /src/lib
parenta91b508418797103e43791f39e4924495339c53a (diff)
downloadopenbsd-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.h6
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);
400void X509_CRL_get0_signature(const X509_CRL *crl, const ASN1_BIT_STRING **psig, 400void 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)
404const X509_ALGOR *X509_CRL_get0_tbs_sigalg(const X509_CRL *crl); 403const X509_ALGOR *X509_CRL_get0_tbs_sigalg(const X509_CRL *crl);
405#endif
406 404
407int X509_REQ_get_signature_nid(const X509_REQ *req); 405int 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
773const STACK_OF(X509_EXTENSION) *X509_get0_extensions(const X509 *x); 771const STACK_OF(X509_EXTENSION) *X509_get0_extensions(const X509 *x);
774#if defined(LIBRESSL_INTERNAL) || defined(LIBRESSL_NEXT_API)
775void X509_get0_uids(const X509 *x, const ASN1_BIT_STRING **piuid, 772void 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
778const X509_ALGOR *X509_get0_tbs_sigalg(const X509 *x); 774const X509_ALGOR *X509_get0_tbs_sigalg(const X509 *x);
779int X509_set_version(X509 *x, long version); 775int X509_set_version(X509 *x, long version);
780long X509_get_version(const X509 *x); 776long X509_get_version(const X509 *x);