summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Pennock <pdp@exim.org>2013-10-15 00:10:31 -0400
committerPhil Pennock <pdp@exim.org>2013-10-15 00:10:31 -0400
commitdafe6874746ec875a81885494293cc408a68de79 (patch)
treea10ab7c39f873954d159ef79cc107d14d209fa8d
parent01a9137a3261b3f10025b914e8271f0781ea6579 (diff)
downloadexim4-dafe6874746ec875a81885494293cc408a68de79.tar.gz
Fix US/signed of const string to tls_error.enable_ecdhe
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.
-rw-r--r--src/src/tls-openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c
index 25169e43f..934469989 100644
--- a/src/src/tls-openssl.c
+++ b/src/src/tls-openssl.c
@@ -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);