[sr-dev] [kamailio/kamailio] tls: detection of kerberos support for openssl at runtime (#1050)

Victor Seva notifications at github.com
Fri Mar 31 12:44:06 CEST 2017


like this?
```
diff --git a/modules/tls/tls_init.c b/modules/tls/tls_init.c
index af2d4c54e..053cd2adc 100644
--- a/modules/tls/tls_init.c
+++ b/modules/tls/tls_init.c
@@ -613,6 +613,7 @@ int init_tls_h(void)
 #else
        comp_support=0;
 #endif
+       #if OPENSSL_VERSION_NUMBER < 0x010100000L
        /* attempt to guess if the library was compiled with kerberos or
         * compression support from the cflags */
        lib_cflags=SSLeay_version(SSLEAY_CFLAGS);
@@ -660,7 +661,7 @@ int init_tls_h(void)
                                                " enabled. Possible unstable configuration\n");
                }
        }
-
+       #endif
        #ifdef TLS_KSSL_WORKARROUND
        /* if openssl compiled with kerberos support, and openssl < 0.9.8e-dev
         * or openssl between 0.9.9-dev and 0.9.9-beta1 apply workaround for
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1050#issuecomment-290680481
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20170331/6042717f/attachment.html>


More information about the sr-dev mailing list