Add ctrl and macro so we can determine if peer support secure renegotiation.
[openssl.git] / ssl / dtls1.h
index b477f09de541883eb91e6f07a60fc6f4bd6de13e..af363a984e79e508b7935e621d74e477423a16c0 100644 (file)
@@ -216,6 +216,9 @@ typedef struct dtls1_state_st
         */
        record_pqueue buffered_app_data;
 
+       /* Is set when listening for new connections with dtls1_listen() */
+       unsigned int listen;
+
        unsigned int mtu; /* max DTLS packet size */
 
        struct hm_header_st w_msg_hdr;