Searched refs:s_ctx (Results 1 - 2 of 2) sorted by relevance

/external/openssl/crypto/threads/
H A Dmttest.c113 void do_threads(SSL_CTX *s_ctx,SSL_CTX *c_ctx);
193 SSL_CTX *s_ctx=NULL; local
279 s_ctx=SSL_CTX_new(ssl_method);
280 if ((c_ctx == NULL) || (s_ctx == NULL))
286 SSL_CTX_set_session_cache_mode(s_ctx,
291 if (!SSL_CTX_use_certificate_file(s_ctx,scert,SSL_FILETYPE_PEM))
295 else if (!SSL_CTX_use_RSAPrivateKey_file(s_ctx,scert,SSL_FILETYPE_PEM))
309 if ( (!SSL_CTX_load_verify_locations(s_ctx,CAfile,CApath)) ||
310 (!SSL_CTX_set_default_verify_paths(s_ctx)) ||
322 SSL_CTX_set_verify(s_ctx,
421 SSL_CTX *s_ctx,*c_ctx; local
762 do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx) argument
891 do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx) argument
990 do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx) argument
1089 do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx) argument
1181 do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx) argument
1275 do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx) argument
[all...]
/external/openssl/ssl/
H A Dssltest.c520 SSL_CTX *s_ctx=NULL; local
903 s_ctx=SSL_CTX_new(meth);
904 if ((c_ctx == NULL) || (s_ctx == NULL))
913 SSL_CTX_set_cipher_list(s_ctx,cipher);
928 SSL_CTX_set_options(s_ctx, SSL_OP_SINGLE_DH_USE);
935 SSL_CTX_set_tmp_dh(s_ctx,dh);
970 SSL_CTX_set_tmp_ecdh(s_ctx, ecdh);
971 SSL_CTX_set_options(s_ctx, SSL_OP_SINGLE_ECDH_USE);
979 SSL_CTX_set_tmp_rsa_callback(s_ctx,tmp_rsa_cb);
984 SSL_CTX_set_tlsext_opaque_prf_input_callback(s_ctx, opaque_prf_input_c
[all...]

Completed in 260 milliseconds