]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
Bitrot: CRYPTO_thread_id() deprecated in OpenSSL 1.0.0
authorViktor Dukhovni <postfix-users@dukhovni.org>
Sun, 10 Jan 2016 08:37:07 +0000 (03:37 -0500)
committerViktor Dukhovni <postfix-users@dukhovni.org>
Sun, 10 Jan 2016 17:19:58 +0000 (12:19 -0500)
Backport from 2.11

postfix/src/tls/tls_misc.c

index 1555efcdd255c0634783ed85918211070812fa92..5689e993c415259292a6be6fc0fab8659e695074 100644 (file)
@@ -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);
     }
 }