Searched defs: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.c526 SSL_CTX *s_ctx=NULL; local
910 s_ctx=SSL_CTX_new(meth);
911 if ((c_ctx == NULL) || (s_ctx == NULL))
920 SSL_CTX_set_cipher_list(s_ctx,cipher);
933 ssl_mode = SSL_CTX_get_mode(s_ctx);
935 SSL_CTX_set_mode(s_ctx, ssl_mode);
951 SSL_CTX_set_options(s_ctx, SSL_OP_SINGLE_DH_USE);
958 SSL_CTX_set_tmp_dh(s_ctx,dh);
993 SSL_CTX_set_tmp_ecdh(s_ctx, ecdh);
994 SSL_CTX_set_options(s_ctx, SSL_OP_SINGLE_ECDH_US
[all...]

Completed in 73 milliseconds