Aftermath of a clashing size_t fix (now only format changes).
[openssl.git] / ssl / s3_pkt.c
index 1d6760e5154870a9acdb6f0bcfbbbd4523287442..561ba5cf255a9aa611254bac5599c0608293c11f 100644 (file)
@@ -829,8 +829,7 @@ int ssl3_write_pending(SSL *s, int type, const unsigned char *buf,
                        return(s->s3->wpend_ret);
                        }
                else if (i <= 0) {
-                       if (s->version == DTLS1_VERSION ||
-                           s->version == DTLS1_BAD_VER) {
+                       if (s->version == DTLS1_VERSION) {
                                /* For DTLS, just drop it. That's kind of the wh
 ole
                                   point in using a datagram service */