summaryrefslogtreecommitdiffstats
path: root/lib/libssl/d1_both.c
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2014-04-13 23:05:18 +0000
committerbeck <beck@openbsd.org>2014-04-13 23:05:18 +0000
commitbf24acf8d6d493cebae2354db22dbdb870fe5e7b (patch)
treeb6f71c8e95191d975684672ad7eda3a037e03666 /lib/libssl/d1_both.c
parentFix the gettimeofday function that I broke with my last commit. (diff)
downloadwireguard-openbsd-bf24acf8d6d493cebae2354db22dbdb870fe5e7b.tar.xz
wireguard-openbsd-bf24acf8d6d493cebae2354db22dbdb870fe5e7b.zip
Flense a variety of windows support stuff, and a strange gettimeofday function.
ok deraadt@
Diffstat (limited to 'lib/libssl/d1_both.c')
-rw-r--r--lib/libssl/d1_both.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/libssl/d1_both.c b/lib/libssl/d1_both.c
index 2e8cf681ed0..a265fed22fd 100644
--- a/lib/libssl/d1_both.c
+++ b/lib/libssl/d1_both.c
@@ -938,13 +938,6 @@ int dtls1_send_finished(SSL *s, int a, int b, const char *sender, int slen)
s->s3->previous_server_finished_len=i;
}
-#ifdef OPENSSL_SYS_WIN16
- /* MSVC 1.5 does not clear the top bytes of the word unless
- * I do this.
- */
- l&=0xffff;
-#endif
-
d = dtls1_set_message_header(s, d, SSL3_MT_FINISHED, l, 0, l);
s->init_num=(int)l+DTLS1_HM_HEADER_LENGTH;
s->init_off=0;