]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix tls.c for OpenSSLv1
authorKern Sibbald <kern@localhost.localdomain>
Tue, 9 Mar 2010 21:55:09 +0000 (22:55 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:49:39 +0000 (16:49 +0200)
bacula/src/lib/tls.c

index 1451371cec6f721ae7a1e2e8ea73d2404252a4c4..04dfaa204828b67eb23b90a9e35abd0f3d164a9b 100644 (file)
@@ -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;