Lines Matching refs:method

193     if (s->method == NULL) {
229 s->version = s->method->version;
250 * Check to see if we were changed into a different method, if so, revert
254 && (s->method != s->ctx->method)) {
255 s->method->ssl_free(s);
256 s->method = s->ctx->method;
257 if (!s->method->ssl_new(s))
261 s->method->ssl_clear(s);
265 /** Used to change an SSL_CTXs default SSL method type */
270 ctx->method = meth;
272 sk = ssl_create_cipher_list(ctx->method, &(ctx->cipher_list),
293 if (ctx->method == NULL) {
373 s->method = ctx->method;
375 if (!s->method->ssl_new(s))
379 s->server = (ctx->method->ssl_accept == ssl_undefined_function) ? 0 : 1;
593 if (s->method != NULL)
594 s->method->ssl_free(s);
827 return (s->method->ssl_pending(s));
879 if (t->method != f->method) {
880 t->method->ssl_free(t); /* cleanup current */
881 t->method = f->method; /* change method */
882 t->method->ssl_new(t); /* setup new */
943 return (s->method->ssl_accept(s));
952 return (s->method->ssl_connect(s));
957 return (s->method->get_timeout());
971 return (s->method->ssl_read(s, buf, num));
984 return (s->method->ssl_peek(s, buf, num));
999 return (s->method->ssl_write(s, buf, num));
1017 return (s->method->ssl_shutdown(s));
1029 return (s->method->ssl_renegotiate(s));
1039 return (s->method->ssl_renegotiate(s));
1092 return (s->method->ssl_ctrl(s, cmd, larg, parg));
1107 return (s->method->ssl_callback_ctrl(s, cmd, fp));
1190 return (ctx->method->ssl_ctx_ctrl(ctx, cmd, larg, parg));
1205 return (ctx->method->ssl_ctx_callback_ctrl(ctx, cmd, fp));
1282 sk = ssl_create_cipher_list(ctx->method, &ctx->cipher_list,
1305 sk = ssl_create_cipher_list(s->ctx->method, &s->cipher_list,
1370 put_cb = s->method->put_cipher_by_char;
1668 return s->method->ssl3_enc->export_keying_material(s, out, olen, label,
1735 ret->method = meth;
1794 ssl_create_cipher_list(ret->method,
2451 return (s->method);
2459 if (s->method != meth) {
2461 conn = (s->handshake_func == s->method->ssl_connect);
2463 if (s->method->version == meth->version)
2464 s->method = meth;
2466 s->method->ssl_free(s);
2467 s->method = meth;
2468 ret = s->method->ssl_new(s);
2570 s->method->ssl_renegotiate_check(s);
2587 s->handshake_func = s->method->ssl_accept;
2599 s->handshake_func = s->method->ssl_connect;
2660 ret->method = s->method;
2673 ret->method->ssl_free(ret);
2674 ret->method = s->method;
2675 ret->method->ssl_new(ret);