search for: authenticated_so_far

Displaying 1 result from an estimated 1 matches for "authenticated_so_far".

2000 Aug 04
0
Combining RSA host authentication with another method
...e AUTH_RSA_HOST 1 + #define AUTH_OTHER 2 + #define AUTH_BOTH (AUTH_RSA_HOST|AUTH_OTHER) + /* * convert ssh auth msg type into description */ *************** *** 150,155 **** --- 154,160 ---- unsigned int ulen; int type = 0; void (*authlog) (const char *fmt,...) = verbose; + int authenticated_so_far = 0; /* Indicate that authentication is needed. */ packet_start(SSH_SMSG_FAILURE); *************** *** 371,376 **** --- 376,404 ---- break; } + /* + * If we require both RSA host and some other authentication + * check that we've obtained two distinct authentication...