patch-src_ssl_support.cc 420 Bytes
Newer Older
1
2
--- src/ssl/support.cc.orig	2018-07-15 20:46:55 UTC
+++ src/ssl/support.cc
3
@@ -2159,7 +2159,11 @@ remove_session_cb(SSL_CTX *, SSL_SESSION *sessionID)
4
5
6
7
 }
 
 static SSL_SESSION *
-get_session_cb(SSL *, unsigned char *sessionID, int len, int *copy)
8
9
10
11
12
+get_session_cb(SSL *,
+#ifdef LIBRESSL_VERSION_NUMBER
+  const
+#endif
+  unsigned char *sessionID, int len, int *copy)
13
14
15
 {
     if (!SslSessionCache)
         return NULL;