WTP can join w/o any memory leaks

This commit is contained in:
2022-08-15 16:31:26 +02:00
parent df5e2bcbb7
commit a051ba41de
17 changed files with 119 additions and 99 deletions

View File

@ -49,12 +49,15 @@ dtls_openssl_connect(struct cw_Conn *conn)
dtls_openssl_data_create(conn, DTLS_client_method(),
biomethod);
cw_dbg(DBG_DTLS_BIO, "DTLS Connect call 2");
d = (struct dtls_openssl_data *) conn->dtls_data;
if (!d)
return 0;
d->biomethod = biomethod;
/*
if (conn->dtls_psk)
SSL_set_psk_client_callback(d->ssl, psk_client_cb);