Lines Matching full:role
75 * Find a custom extension from the list. The |role| param is there to
82 ENDPOINT role, unsigned int ext_type, in custom_ext_find() argument
90 && (role == ENDPOINT_BOTH || role == meth->role in custom_ext_find()
91 || meth->role == ENDPOINT_BOTH)) { in custom_ext_find()
120 ENDPOINT role = ENDPOINT_BOTH; in custom_ext_parse() local
123 role = s->server ? ENDPOINT_SERVER : ENDPOINT_CLIENT; in custom_ext_parse()
125 meth = custom_ext_find(exts, role, ext_type, NULL); in custom_ext_parse()
260 custom_ext_method *methdst = custom_ext_find(dst, methsrc->role, in custom_exts_copy_flags()
347 static int add_custom_ext_intern(SSL_CTX *ctx, ENDPOINT role, in add_custom_ext_intern() argument
390 if (custom_ext_find(exts, role, ext_type, NULL)) in add_custom_ext_intern()
400 meth->role = role; in add_custom_ext_intern()
412 static int add_old_custom_ext(SSL_CTX *ctx, ENDPOINT role, in add_old_custom_ext() argument
438 ret = add_custom_ext_intern(ctx, role, ext_type, in add_old_custom_ext()