From 3f4e8b5db9d4f4eb20a0a7204eed79bec25ccc88 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Tue, 9 Mar 2010 22:55:09 +0100 Subject: [PATCH] Fix tls.c for OpenSSLv1 --- bacula/src/lib/tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5