From: Kern Sibbald Date: Tue, 9 Mar 2010 21:55:09 +0000 (+0100) Subject: Fix tls.c for OpenSSLv1 X-Git-Tag: Release-5.2.1~1615 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5fef99df0c96a85ff82c7f2033ca78e85bd0e805;p=bacula%2Fbacula Fix tls.c for OpenSSLv1 --- diff --git a/bacula/src/lib/tls.c b/bacula/src/lib/tls.c index 1451371cec..04dfaa2048 100644 --- a/bacula/src/lib/tls.c +++ b/bacula/src/lib/tls.c @@ -315,7 +315,7 @@ bool tls_postconnect_verify_host(JCR *jcr, TLS_CONNECTION *tls, const char *host extname = OBJ_nid2sn(OBJ_obj2nid(X509_EXTENSION_get_object(ext))); if (strcmp(extname, "subjectAltName") == 0) { - X509V3_EXT_METHOD *method; + const X509V3_EXT_METHOD *method; STACK_OF(CONF_VALUE) *val; CONF_VALUE *nval; void *extstr = NULL;