Lines Matching defs:role
75 * Find a custom extension from the list. The |role| param is there to
82 ENDPOINT role, unsigned int ext_type,
90 && (role == ENDPOINT_BOTH || role == meth->role
91 || meth->role == ENDPOINT_BOTH)) {
120 ENDPOINT role = ENDPOINT_BOTH;
123 role = s->server ? ENDPOINT_SERVER : ENDPOINT_CLIENT;
125 meth = custom_ext_find(exts, role, ext_type, NULL);
260 custom_ext_method *methdst = custom_ext_find(dst, methsrc->role,
345 static int add_custom_ext_intern(SSL_CTX *ctx, ENDPOINT role,
388 if (custom_ext_find(exts, role, ext_type, NULL))
398 meth->role = role;
410 static int add_old_custom_ext(SSL_CTX *ctx, ENDPOINT role,
436 ret = add_custom_ext_intern(ctx, role, ext_type,