From: Viktor Dukhovni Date: Sun, 10 Jan 2016 08:37:07 +0000 (-0500) Subject: Bitrot: CRYPTO_thread_id() deprecated in OpenSSL 1.0.0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d7849b49432963fee2df0d601a99bc9ada4dd78;p=thirdparty%2Fpostfix.git Bitrot: CRYPTO_thread_id() deprecated in OpenSSL 1.0.0 Backport from 2.11 --- diff --git a/postfix/src/tls/tls_misc.c b/postfix/src/tls/tls_misc.c index 1555efcdd..5689e993c 100644 --- a/postfix/src/tls/tls_misc.c +++ b/postfix/src/tls/tls_misc.c @@ -924,17 +924,14 @@ void tls_print_errors(void) const char *data; int line; int flags; - unsigned long thread; - thread = CRYPTO_thread_id(); while ((err = ERR_get_error_line_data(&file, &line, &data, &flags)) != 0) { ERR_error_string_n(err, buffer, sizeof(buffer)); if (flags & ERR_TXT_STRING) - msg_warn("TLS library problem: %lu:%s:%s:%d:%s:", - thread, buffer, file, line, data); + msg_warn("TLS library problem: %s:%s:%d:%s:", + buffer, file, line, data); else - msg_warn("TLS library problem: %lu:%s:%s:%d:", - thread, buffer, file, line); + msg_warn("TLS library problem: %s:%s:%d:", buffer, file, line); } }