diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/d1_srvr.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/libssl/d1_srvr.c b/src/lib/libssl/d1_srvr.c index 9fdd025e2d..4532a07da5 100644 --- a/src/lib/libssl/d1_srvr.c +++ b/src/lib/libssl/d1_srvr.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: d1_srvr.c,v 1.36 2014/08/10 14:42:56 jsing Exp $ */ | 1 | /* $OpenBSD: d1_srvr.c,v 1.37 2014/08/24 14:36:45 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
| 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
| @@ -898,7 +898,6 @@ dtls1_send_server_hello(SSL *s) | |||
| 898 | { | 898 | { |
| 899 | unsigned char *buf; | 899 | unsigned char *buf; |
| 900 | unsigned char *p, *d; | 900 | unsigned char *p, *d; |
| 901 | int i; | ||
| 902 | unsigned int sl; | 901 | unsigned int sl; |
| 903 | unsigned long l; | 902 | unsigned long l; |
| 904 | 903 | ||
| @@ -940,8 +939,7 @@ dtls1_send_server_hello(SSL *s) | |||
| 940 | /* put the cipher */ | 939 | /* put the cipher */ |
| 941 | if (s->s3->tmp.new_cipher == NULL) | 940 | if (s->s3->tmp.new_cipher == NULL) |
| 942 | return -1; | 941 | return -1; |
| 943 | i = ssl3_put_cipher_by_char(s->s3->tmp.new_cipher, p); | 942 | s2n(ssl3_cipher_get_value(s->s3->tmp.new_cipher), p); |
| 944 | p += i; | ||
| 945 | 943 | ||
| 946 | /* put the compression method */ | 944 | /* put the compression method */ |
| 947 | *(p++) = 0; | 945 | *(p++) = 0; |
