Lines Matching refs:ctx
339 int SSL_CTX_has_client_custom_ext(const SSL_CTX *ctx, unsigned int ext_type)
341 return custom_ext_find(&ctx->cert->custext, ENDPOINT_CLIENT, ext_type,
345 static int add_custom_ext_intern(SSL_CTX *ctx, ENDPOINT role,
354 custom_ext_methods *exts = &ctx->cert->custext;
372 && SSL_CTX_ct_is_enabled(ctx))
410 static int add_old_custom_ext(SSL_CTX *ctx, ENDPOINT role,
436 ret = add_custom_ext_intern(ctx, role, ext_type,
453 int SSL_CTX_add_client_custom_ext(SSL_CTX *ctx, unsigned int ext_type,
459 return add_old_custom_ext(ctx, ENDPOINT_CLIENT, ext_type,
467 int SSL_CTX_add_server_custom_ext(SSL_CTX *ctx, unsigned int ext_type,
473 return add_old_custom_ext(ctx, ENDPOINT_SERVER, ext_type,
481 int SSL_CTX_add_custom_ext(SSL_CTX *ctx, unsigned int ext_type,
488 return add_custom_ext_intern(ctx, ENDPOINT_BOTH, ext_type, context, add_cb,