summaryrefslogtreecommitdiff
path: root/kex.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2017-03-29 10:50:31 +1100
committerDarren Tucker <dtucker@zip.com.au>2017-03-29 10:50:31 +1100
commitf2742a481fe151e493765a3fbdef200df2ea7037 (patch)
treeec85a91ec200befe3ac201f93edc26a5ba5a4400 /kex.c
parent5346f271fc76549caf4a8e65b5fba319be422fe9 (diff)
Remove SHA256 EVP wrapper implementation.
All supported versions of OpenSSL should now have SHA256 so remove our EVP wrapper implementaion. ok djm@
Diffstat (limited to 'kex.c')
-rw-r--r--kex.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/kex.c b/kex.c
index cf4ac0dc5..98c0597a9 100644
--- a/kex.c
+++ b/kex.c
@@ -54,14 +54,6 @@
54#include "sshbuf.h" 54#include "sshbuf.h"
55#include "digest.h" 55#include "digest.h"
56 56
57#if OPENSSL_VERSION_NUMBER >= 0x00907000L
58# if defined(HAVE_EVP_SHA256)
59# define evp_ssh_sha256 EVP_sha256
60# else
61extern const EVP_MD *evp_ssh_sha256(void);
62# endif
63#endif
64
65/* prototype */ 57/* prototype */
66static int kex_choose_conf(struct ssh *); 58static int kex_choose_conf(struct ssh *);
67static int kex_input_newkeys(int, u_int32_t, void *); 59static int kex_input_newkeys(int, u_int32_t, void *);