search for: tis_free

Displaying 2 results from an estimated 2 matches for "tis_free".

Did you mean: i_free
2001 Mar 13
0
[PATCH] openssh 2.5.1p2 TIS authserv support
...strlcpy(challenge, tis_chal, sizeof(challenge)); + xfree(tis_chal); + + return challenge; + } + return NULL; +} + +int +verify_response(Authctxt *authctxt, char *response) +{ + int res; + + if (!authctxt->tis) { + res = 0; + } + else { + res = tis_response(authctxt->tis, response); + tis_free(authctxt->tis); + authctxt->tis = NULL; + } + return res && authctxt->valid; +} + +#elif SKEY #include <skey.h> char * diff -urN openssh-2.5.1p2/auth.h openssh-2.5.1p2-tis/auth.h --- openssh-2.5.1p2/auth.h Sun Feb 18 07:01:00 2001 +++ openssh-2.5.1p2-tis/auth.h Fri Mar...
2000 Dec 07
1
[PATCH] tis authserv support
...ded. */ packet_start(SSH_SMSG_FAILURE); @@ -267,7 +282,54 @@ xfree(password); break; -#ifdef SKEY +#ifdef TIS_AUTH + case SSH_CMSG_AUTH_TIS: + debug("rcvd SSH_CMSG_AUTH_TIS"); + if (options.tis_authentication == 1) { + char *challenge = NULL; + + if (pw) { + tis_free(tis); + tis = tis_connect_multi(options.authserv_addrs); + if (tis) { + challenge = tis_authenticate(tis, pw->pw_name); + } + else { + log("Error connecting TIS authserv"); + } + else { + challenge = tis_fake_challenge(); + } + if (!challenge)...