mera rätt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1723 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -138,9 +138,11 @@ recv_conn (int sock, des_cblock *key, des_key_schedule schedule,
|
||||
status = krb_recvauth (KOPT_DO_MUTUAL, sock, &ticket, "rcmd", instance,
|
||||
thataddr, thisaddr, &auth, "", schedule,
|
||||
version);
|
||||
if (status != KSUCCESS)
|
||||
if (status != KSUCCESS) {
|
||||
syslog (LOG_ERR, "krb_recvauth: %s",
|
||||
krb_get_err_text(status));
|
||||
exit(1)
|
||||
}
|
||||
if( strncmp(version, KX_VERSION, KRB_SENDAUTH_VLEN) != 0) {
|
||||
/* Try to be nice to old kx's */
|
||||
if (strncmp (version, KX_OLD_VERSION, KRB_SENDAUTH_VLEN) == 0) {
|
||||
|
Reference in New Issue
Block a user