Field for dtls_psk_pass.

FossilOrigin-Name: 3d05454d9e4a9c9d0fbe52ff80c5ac39e11d9dd61c26ca8944c4aa790b0b6835
This commit is contained in:
7u83@mail.ru 2014-08-02 07:44:06 +00:00
parent c70c5f90ef
commit 65ee914c54
1 changed files with 5 additions and 3 deletions

View File

@ -65,7 +65,7 @@ struct conn{
int (*write)(struct conn *, const uint8_t*, int); int (*write)(struct conn *, const uint8_t*, int);
/* optional packet queue */ /* optional packet queue */
uint8_t ** q; //[WTPMAN_QSIZE]; uint8_t ** q;
int qsize; int qsize;
int qrpos; int qrpos;
int qwpos; int qwpos;
@ -74,7 +74,6 @@ struct conn{
int cur_packet_len; int cur_packet_len;
int cur_packet_pos; int cur_packet_pos;
#ifdef WITH_DTLS
/* dtls stuff */ /* dtls stuff */
int (*dtls_start)(struct conn*); int (*dtls_start)(struct conn*);
int (*dtls_accept)(struct conn*); int (*dtls_accept)(struct conn*);
@ -84,9 +83,12 @@ struct conn{
char * dtls_cert_file; char * dtls_cert_file;
char * dtls_key_file; char * dtls_key_file;
char * dtls_key_pass;
void * dtls_data; void * dtls_data;
char * dtls_cipher; char * dtls_cipher;
#endif
/* used to link the conn obj with other objects */ /* used to link the conn obj with other objects */
void * data; void * data;
}; };