summaryrefslogtreecommitdiffstats
path: root/lib/libssl/s3_clnt.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2014-04-17 20:34:24 +0000
committertedu <tedu@openbsd.org>2014-04-17 20:34:24 +0000
commitc45ad0bbdba440c92964607ead3f2ea000ef3c6e (patch)
treeff1a771971f1b914b98a919ba4a24c56f15ae429 /lib/libssl/s3_clnt.c
parentAren't you glad to have this file tell you that ``C2.pl works''? Bonus point (diff)
downloadwireguard-openbsd-c45ad0bbdba440c92964607ead3f2ea000ef3c6e.tar.xz
wireguard-openbsd-c45ad0bbdba440c92964607ead3f2ea000ef3c6e.zip
quick pass at removing ability to disable sha256 and sha512. ok miod
Diffstat (limited to 'lib/libssl/s3_clnt.c')
-rw-r--r--lib/libssl/s3_clnt.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/libssl/s3_clnt.c b/lib/libssl/s3_clnt.c
index 26bdef6b4fc..32405eac752 100644
--- a/lib/libssl/s3_clnt.c
+++ b/lib/libssl/s3_clnt.c
@@ -1940,11 +1940,7 @@ ssl3_get_new_session_ticket(SSL *s)
*/
EVP_Digest(p, ticklen,
s->session->session_id, &s->session->session_id_length,
-#ifndef OPENSSL_NO_SHA256
EVP_sha256(), NULL);
-#else
- EVP_sha1(), NULL);
-#endif
ret = 1;
return (ret);
f_err: