Work in progress ...

FossilOrigin-Name: a76e8760f309d36aad22507f961ac5a03f46df9ee585c2f8601ee0a5a088738e
This commit is contained in:
7u83@mail.ru
2015-02-01 15:55:45 +00:00
parent 84e6d01348
commit c851831463
23 changed files with 236 additions and 68 deletions

View File

@ -51,7 +51,7 @@ int dtls_openssl_connect(struct conn * conn)
SSL_set_psk_client_callback( d->ssl, psk_client_cb);
dtls_openssl_set_certs(conn,d);
// dtls_openssl_set_certs(conn,d);
if (conn->dtls_cert_file && conn->dtls_key_file){
}
@ -60,9 +60,9 @@ int dtls_openssl_connect(struct conn * conn)
int rc;
// do{
rc = SSL_connect(d->ssl);
/*
/* if (rc <= 0){
if (rc <= 0){
int e;
e = SSL_get_error(d->ssl,rc);
printf("Get Err %i\n",e);