Prevent bailing when the exact compile-time and runtime GNU TLS versions
differ; trust dpkg to disallow combinations that are actually incompatible.
Likewise for mbed TLS.
Gbp-Pq: Name suppress_tls_version_checks
assert(!s_GnuTlsCredAnon);
+#if 0
version = gnutls_check_version(0);
if (strcasecmp(GNUTLS_VERSION, version) != 0) {
CORE_LOGF(eLOG_Critical,
GNUTLS_VERSION, version));
assert(0);
}
+#endif
if (!pull || !push)
return eIO_InvalidArg;
char buf[32];
mbedtls_version_get_string(version);
+#if 0
if (strcasecmp(MBEDTLS_VERSION_STRING, version) != 0) {
CORE_LOGF(eLOG_Critical,
("%s version mismatch: %s headers vs. %s runtime",
kMbedTls, MBEDTLS_VERSION_STRING, version));
assert(0);
}
+#endif
if (!pull || !push)
return eIO_InvalidArg;