summaryrefslogtreecommitdiff
path: root/lib/libcrypto/x509/x509.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/x509/x509.h')
-rw-r--r--lib/libcrypto/x509/x509.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libcrypto/x509/x509.h b/lib/libcrypto/x509/x509.h
index e6b205b7fce..25af8314b24 100644
--- a/lib/libcrypto/x509/x509.h
+++ b/lib/libcrypto/x509/x509.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: x509.h,v 1.70 2018/08/24 19:55:58 tb Exp $ */
+/* $OpenBSD: x509.h,v 1.71 2018/08/24 19:59:32 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -979,6 +979,7 @@ int X509_set_version(X509 *x, long version);
long X509_get_version(const X509 *x);
int X509_set_serialNumber(X509 *x, ASN1_INTEGER *serial);
ASN1_INTEGER * X509_get_serialNumber(X509 *x);
+const ASN1_INTEGER *X509_get0_serialNumber(const X509 *x);
int X509_set_issuer_name(X509 *x, X509_NAME *name);
X509_NAME * X509_get_issuer_name(const X509 *a);
int X509_set_subject_name(X509 *x, X509_NAME *name);