]> 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)
committerKern Sibbald <kern@localhost.localdomain>
Tue, 9 Mar 2010 21:55:58 +0000 (22:55 +0100)
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;