Fix write failure handling in DTLS1.2
[openssl.git] / ssl / d1_pkt.c
index 940ca692790271976366e9a34fad0687d588a475..fe30ec7d004235d74145d38af12cfde3fb0e2ffd 100644 (file)
@@ -1069,7 +1069,7 @@ int dtls1_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek)
             (s->d1->handshake_fragment[3] != 0)) {
             al = SSL_AD_DECODE_ERROR;
             SSLerr(SSL_F_DTLS1_READ_BYTES, SSL_R_BAD_HELLO_REQUEST);
-            goto err;
+            goto f_err;
         }
 
         /*