Lines Matching refs:kex
279 ssh_gssapi_modify_kex(Kex *kex, gss_OID_set mechs, char **proposal) in ssh_gssapi_modify_kex() argument
288 if (kex == NULL || proposal == NULL || in ssh_gssapi_modify_kex()
295 if (kex->mechs == GSS_C_NULL_OID_SET && mechs == GSS_C_NULL_OID_SET) in ssh_gssapi_modify_kex()
298 if (kex->mechs == GSS_C_NULL_OID_SET || mechs == GSS_C_NULL_OID_SET) in ssh_gssapi_modify_kex()
302 if (kex->mechs->count == mechs->count) { in ssh_gssapi_modify_kex()
307 &kex->mechs->elements[i], mechs, &present); in ssh_gssapi_modify_kex()
317 if (matches == kex->mechs->count) in ssh_gssapi_modify_kex()
341 (void) gss_release_oid_set(&min, &kex->mechs); /* ok if !kex->mechs */ in ssh_gssapi_modify_kex()
365 kex->mechs = dup_mechs; /* remember what we offer now */ in ssh_gssapi_modify_kex()
376 } else if (!kex->server) { in ssh_gssapi_modify_kex()
386 if (kex->mechs != GSS_C_NULL_OID_SET) { in ssh_gssapi_modify_kex()