Module Name:    src
Committed By:   christos
Date:           Tue Feb  6 19:51:25 UTC 2018

Modified Files:
        src/crypto/external/bsd/openssl.old/dist/crypto/x509v3: x509v3.h

Log Message:
added 1.1 api


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
    src/crypto/external/bsd/openssl.old/dist/crypto/x509v3/x509v3.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/external/bsd/openssl.old/dist/crypto/x509v3/x509v3.h
diff -u src/crypto/external/bsd/openssl.old/dist/crypto/x509v3/x509v3.h:1.1.1.1 src/crypto/external/bsd/openssl.old/dist/crypto/x509v3/x509v3.h:1.2
--- src/crypto/external/bsd/openssl.old/dist/crypto/x509v3/x509v3.h:1.1.1.1	Sat Feb  3 17:43:48 2018
+++ src/crypto/external/bsd/openssl.old/dist/crypto/x509v3/x509v3.h	Tue Feb  6 14:51:25 2018
@@ -1049,6 +1049,15 @@ void ERR_load_X509V3_strings(void);
 # 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

Reply via email to