- (stevesk) auth1.c: free should be after WITH_AIXAUTHENTICATE

code.
This commit is contained in:
Kevin Steves 2001-01-08 20:54:36 +00:00
Родитель 4b27a5377e
Коммит 99a0563fd5
2 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -1,5 +1,7 @@
20010109
- (bal) Resync CVS ID of cli.c
- (stevesk) auth1.c: free should be after WITH_AIXAUTHENTICATE
code.
20010108
- (bal) Fixed another typo in cli.c

Просмотреть файл

@ -479,13 +479,12 @@ do_authentication()
packet_start(SSH_SMSG_SUCCESS);
packet_send();
packet_write_wait();
xfree(user);
#ifdef WITH_AIXAUTHENTICATE
/* We don't have a pty yet, so just label the line as "ssh" */
if (loginsuccess(user,get_canonical_hostname(),"ssh",&aixloginmsg) < 0)
aixloginmsg = NULL;
#endif /* WITH_AIXAUTHENTICATE */
xfree(user);
/* Perform session preparation. */
do_authenticated(pw);