Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssl.old/dist/crypto/x509v3 added 1.1...



details:   https://anonhg.NetBSD.org/src/rev/2a1ef04c6df2
branches:  trunk
changeset: 829603:2a1ef04c6df2
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Feb 06 19:51:25 2018 +0000

description:
added 1.1 api

diffstat:

 crypto/external/bsd/openssl.old/dist/crypto/x509v3/x509v3.h |  9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r 85f933e7fea1 -r 2a1ef04c6df2 crypto/external/bsd/openssl.old/dist/crypto/x509v3/x509v3.h
--- a/crypto/external/bsd/openssl.old/dist/crypto/x509v3/x509v3.h       Tue Feb 06 19:51:03 2018 +0000
+++ b/crypto/external/bsd/openssl.old/dist/crypto/x509v3/x509v3.h       Tue Feb 06 19:51:25 2018 +0000
@@ -1049,6 +1049,15 @@
 # define X509V3_R_UNSUPPORTED_TYPE                        167
 # define X509V3_R_USER_TOO_LONG                           132
 
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L
+static inline uint32_t
+X509_get_extended_key_usage(X509 *x)
+{
+       return x->ex_xkusage;
+}
+
+#endif
+
 #ifdef  __cplusplus
 }
 #endif



Home | Main Index | Thread Index | Old Index