Lines Matching refs:TlsCtx
60 IN VOID *TlsCtx in TlsCtxFree() argument
63 if (TlsCtx == NULL) { in TlsCtxFree()
67 if (TlsCtx != NULL) { in TlsCtxFree()
68 SSL_CTX_free ((SSL_CTX *) (TlsCtx)); in TlsCtxFree()
90 SSL_CTX *TlsCtx; in TlsCtxNew() local
95 TlsCtx = SSL_CTX_new (SSLv23_client_method ()); in TlsCtxNew()
96 if (TlsCtx == NULL) { in TlsCtxNew()
103 SSL_CTX_set_options (TlsCtx, SSL_OP_NO_SSLv3); in TlsCtxNew()
119 SSL_CTX_set_options (TlsCtx, SSL_OP_NO_TLSv1); in TlsCtxNew()
125 SSL_CTX_set_options (TlsCtx, SSL_OP_NO_TLSv1); in TlsCtxNew()
126 SSL_CTX_set_options (TlsCtx, SSL_OP_NO_TLSv1_1); in TlsCtxNew()
135 return (VOID *) TlsCtx; in TlsCtxNew()
194 IN VOID *TlsCtx in TlsNew() argument
216 TlsConn->Ssl = SSL_new ((SSL_CTX *) TlsCtx); in TlsNew()