aabbc9
Adding struct member is ABI breaker however as the structure is always allocated by
aabbc9
the library calls we just move it to the end and it should be reasonably safe.
aabbc9
diff -up openssl-1.0.0-beta4/ssl/dtls1.h.dtls1-abi openssl-1.0.0-beta4/ssl/dtls1.h
aabbc9
--- openssl-1.0.0-beta4/ssl/dtls1.h.dtls1-abi	2009-11-12 14:34:37.000000000 +0100
aabbc9
+++ openssl-1.0.0-beta4/ssl/dtls1.h	2009-11-12 14:47:57.000000000 +0100
aabbc9
@@ -216,9 +216,6 @@ typedef struct dtls1_state_st
aabbc9
 	 */
aabbc9
 	record_pqueue buffered_app_data;
aabbc9
 
aabbc9
-	/* Is set when listening for new connections with dtls1_listen() */
aabbc9
-	unsigned int listen;
aabbc9
-
aabbc9
 	unsigned int mtu; /* max DTLS packet size */
aabbc9
 
aabbc9
 	struct hm_header_st w_msg_hdr;
aabbc9
@@ -242,6 +239,9 @@ typedef struct dtls1_state_st
aabbc9
 	unsigned int retransmitting;
aabbc9
 	unsigned int change_cipher_spec_ok;
aabbc9
 
aabbc9
+	/* Is set when listening for new connections with dtls1_listen() */
aabbc9
+	unsigned int listen;
aabbc9
+
aabbc9
 	} DTLS1_STATE;
aabbc9
 
aabbc9
 typedef struct dtls1_record_data_st