projects
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
94f85d3
)
OpenSSL: Make sure sha256 digest is available
author
Tom Kistner
<tom@duncanthrax.net>
Fri, 16 Oct 2009 08:34:50 +0000
(08:34 +0000)
committer
Tom Kistner
<tom@duncanthrax.net>
Fri, 16 Oct 2009 08:34:50 +0000
(08:34 +0000)
src/src/tls-openssl.c
patch
|
blob
|
blame
|
history
diff --git
a/src/src/tls-openssl.c
b/src/src/tls-openssl.c
index 9493d769ab41c8327e8917ec58df5cfcbb7f0735..edaed35aecae027dda68c3513da1844d2629833b 100644
(file)
--- a/
src/src/tls-openssl.c
+++ b/
src/src/tls-openssl.c
@@
-1,4
+1,4
@@
-/* $Cambridge: exim/src/src/tls-openssl.c,v 1.1
5 2009/10/14 13:52:48 nm4
Exp $ */
+/* $Cambridge: exim/src/src/tls-openssl.c,v 1.1
6 2009/10/16 08:34:50 tom
Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
/*************************************************
* Exim - an Internet mail transport agent *
@@
-305,6
+305,10
@@
tls_init(host_item *host, uschar *dhparam, uschar *certificate,
SSL_load_error_strings(); /* basic set up */
OpenSSL_add_ssl_algorithms();
SSL_load_error_strings(); /* basic set up */
OpenSSL_add_ssl_algorithms();
+/* SHA256 is becoming ever moar popular. This makes sure it gets added to the
+list of available digests. */
+EVP_add_digest(EVP_sha256());
+
/* Create a context */
ctx = SSL_CTX_new((host == NULL)?
/* Create a context */
ctx = SSL_CTX_new((host == NULL)?