Changeset 6133
- Timestamp:
- Jan 10, 2020 8:02:54 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/ssl_sock_ossl.c
r6104 r6133 491 491 SSL *ssl; 492 492 STACK_OF(SSL_CIPHER) *sk_cipher; 493 SSL_SESSION *ssl_sess; 493 494 unsigned i, n; 494 495 int nid; … … 538 539 ssl_cipher_num = n; 539 540 540 SSL_set_session(ssl, SSL_SESSION_new()); 541 ssl_sess = SSL_SESSION_new(); 542 SSL_set_session(ssl, ssl_sess); 541 543 542 544 #if !USING_LIBRESSL && !defined(OPENSSL_NO_EC) \ … … 568 570 569 571 SSL_free(ssl); 572 SSL_SESSION_free(ssl_sess); 570 573 SSL_CTX_free(ctx); 571 574 }
Note: See TracChangeset
for help on using the changeset viewer.