Remove the DTLS1_BAD_VER thing from 0.9.9-dev. It is present in 0.9.8
but has been omitted from HEAD (0.9.9), see commit http://cvs.openssl.org/chngview?cn=16627 by appro.
This commit is contained in:
parent
570006f3a2
commit
b8dfde2a36
@ -68,7 +68,6 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define DTLS1_VERSION 0xFEFF
|
#define DTLS1_VERSION 0xFEFF
|
||||||
#define DTLS1_BAD_VER 0x0100
|
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
/* this alert description is not specified anywhere... */
|
/* this alert description is not specified anywhere... */
|
||||||
|
@ -829,8 +829,7 @@ int ssl3_write_pending(SSL *s, int type, const unsigned char *buf,
|
|||||||
return(s->s3->wpend_ret);
|
return(s->s3->wpend_ret);
|
||||||
}
|
}
|
||||||
else if (i <= 0) {
|
else if (i <= 0) {
|
||||||
if (s->version == DTLS1_VERSION ||
|
if (s->version == DTLS1_VERSION) {
|
||||||
s->version == DTLS1_BAD_VER) {
|
|
||||||
/* For DTLS, just drop it. That's kind of the wh
|
/* For DTLS, just drop it. That's kind of the wh
|
||||||
ole
|
ole
|
||||||
point in using a datagram service */
|
point in using a datagram service */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user