Lines Matching refs:sid_ctx
737 if (!ossl_assert(s->sid_ctx_length <= sizeof(s->sid_ctx))) in SSL_new()
739 memcpy(&s->sid_ctx, &ctx->sid_ctx, sizeof(s->sid_ctx)); in SSL_new()
874 int SSL_CTX_set_session_id_context(SSL_CTX *ctx, const unsigned char *sid_ctx, in SSL_CTX_set_session_id_context() argument
882 memcpy(ctx->sid_ctx, sid_ctx, sid_ctx_len); in SSL_CTX_set_session_id_context()
887 int SSL_set_session_id_context(SSL *ssl, const unsigned char *sid_ctx, in SSL_set_session_id_context() argument
895 memcpy(ssl->sid_ctx, sid_ctx, sid_ctx_len); in SSL_set_session_id_context()
1639 if (!SSL_set_session_id_context(t, f->sid_ctx, (int)f->sid_ctx_length)) { in SSL_copy_session_id()
4093 if (!SSL_set_session_id_context(ret, s->sid_ctx, in SSL_dup()
4339 if (!ossl_assert(ssl->sid_ctx_length <= sizeof(ssl->sid_ctx))) in SSL_set_SSL_CTX()
4350 (memcmp(ssl->sid_ctx, ssl->ctx->sid_ctx, ssl->sid_ctx_length) == 0)) { in SSL_set_SSL_CTX()
4352 memcpy(&ssl->sid_ctx, &ctx->sid_ctx, sizeof(ssl->sid_ctx)); in SSL_set_SSL_CTX()