projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
229c534
)
Fix build with LibreSSL
author
Bernard Spil
<Sp1l@users.noreply.github.com>
Sun, 14 May 2017 13:45:23 +0000
(15:45 +0200)
committer
GitHub
<noreply@github.com>
Sun, 14 May 2017 13:45:23 +0000
(15:45 +0200)
LibreSSL does not have X509_get0_extensions and was forked from 0x1000200fL
See also: https://bugs.freebsd.org/218225
src/main/tls.c
patch
|
blob
|
history
diff --git
a/src/main/tls.c
b/src/main/tls.c
index
c676882
..
088ea23
100644
(file)
--- a/
src/main/tls.c
+++ b/
src/main/tls.c
@@
-2218,7
+2218,7
@@
int cbtls_verify(int ok, X509_STORE_CTX *ctx)
}
if (lookup == 0) {
-#if OPENSSL_VERSION_NUMBER >= 0x10100000L
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L
&& !defined(LIBRESSL_VERSION_NUMBER)
ext_list = X509_get0_extensions(client_cert);
#else
X509_CINF *client_inf;