Fix US/signed of const string to tls_error. enable_ecdhe github/enable_ecdhe
authorPhil Pennock <pdp@exim.org>
Tue, 15 Oct 2013 04:10:31 +0000 (00:10 -0400)
committerPhil Pennock <pdp@exim.org>
Tue, 15 Oct 2013 04:10:31 +0000 (00:10 -0400)
Thought I'd fixed this before pushing the branch, just found the fix
laying uncommitted and realized what I did wrong.

This just adds a US macro, for US"some const string", to shush a
compiler warning.

src/src/tls-openssl.c

index 25169e43f96b15dab465c3a4fb67b2ac70f64e81..93446998993b07cb95ceb96596e1c99182373e77 100644 (file)
@@ -508,7 +508,7 @@ init_ecdh(SSL_CTX *sctx, host_item *host)
       DEBUG(D_tls)
         debug_printf("ECDH: enable NIST P-256 curve\n");
     } else {
-      tls_error("Error enabling NIST P-256 curve", host, NULL);
+      tls_error(US"Error enabling NIST P-256 curve", host, NULL);
       rv = FALSE;
     }
     EC_KEY_free(ecdh);