Buffer a ClientHello with a cookie received via DTLSv1_listen
[openssl.git] / ssl / record / record.h
index 93f6f9ee3f141d223312f8634b4c8e57b8a6598d..76a2b81f0d74b3eebe9518eecc8e982d1d5612b6 100644 (file)
@@ -232,3 +232,5 @@ __owur int dtls1_write_bytes(SSL *s, int type, const void *buf, size_t len,
 int do_dtls1_write(SSL *s, int type, const unsigned char *buf,
                    size_t len, int create_empty_fragment, size_t *written);
 void dtls1_reset_seq_numbers(SSL *s, int rw);
+int dtls_buffer_listen_record(SSL *s, size_t len, unsigned char *seq,
+                              size_t off);