FossilOrigin-Name: 2a80ff74e83e1f6e99aba589ec8cec08d640199362326c61959aff81e93c5e0c
This commit is contained in:
7u83@mail.ru
2014-08-18 05:30:21 +00:00
parent a7a0616854
commit e638fd4aa2
8 changed files with 75 additions and 44 deletions

View File

@ -89,6 +89,9 @@ int join(struct sockaddr *sa)
#ifdef WITH_DTLS
cw_dbg (DBG_DTLS,"Establishing DTLS session with %s",sock_addr2str(sa));
/*
#ifdef WITH_CW_LOG_DEBUG
{
char str[100];
@ -96,7 +99,7 @@ int join(struct sockaddr *sa)
cw_log_debug0("Establishing DTLS connection to %s",str);
}
#endif
*/
if (conf_dtls_psk){
conn->dtls_psk=conf_dtls_psk;
conn->dtls_psk_len=strlen(conn->dtls_psk);
@ -125,6 +128,9 @@ int join(struct sockaddr *sa)
}
#endif
cw_dbg (DBG_DTLS,"DTLS session established with %s, cipher=%s",sock_addr2str(sa),dtls_get_cipher(conn));
exit(0);
#ifdef WITH_CW_LOG_DEBUG
{