diff options
author | Ben Laurie <ben@openssl.org> | 2011-12-20 15:05:03 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2011-12-20 15:05:03 +0000 |
commit | dd0ddc3e784204c8970c0b95fff8e55072294bec (patch) | |
tree | bc355f1dc3a1b4fc8feac54f513307672d8aa400 /ssl | |
parent | 62308f3f4ad9063c9cb394ff1725eb364742a53c (diff) |
Fix DTLS.
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/s3_pkt.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c index 5e0cbdc3df..33be6badbc 100644 --- a/ssl/s3_pkt.c +++ b/ssl/s3_pkt.c @@ -1392,10 +1392,8 @@ err: int ssl3_do_change_cipher_spec(SSL *s) { int i; -#ifdef OPENSSL_NO_NEXTPROTONEG const char *sender; int slen; -#endif if (s->state & SSL_ST_ACCEPT) i=SSL3_CHANGE_CIPHER_SERVER_READ; @@ -1418,7 +1416,6 @@ int ssl3_do_change_cipher_spec(SSL *s) if (!s->method->ssl3_enc->change_cipher_state(s,i)) return(0); -#ifdef OPENSSL_NO_NEXTPROTONEG /* we have to record the message digest at * this point so we can get it before we read * the finished message */ @@ -1435,7 +1432,6 @@ int ssl3_do_change_cipher_spec(SSL *s) s->s3->tmp.peer_finish_md_len = s->method->ssl3_enc->final_finish_mac(s, sender,slen,s->s3->tmp.peer_finish_md); -#endif return(1); } |