Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/dist/ssh make it compile with KRB4 and not with KRB5....



details:   https://anonhg.NetBSD.org/src/rev/a3eef5fffc7b
branches:  trunk
changeset: 511187:a3eef5fffc7b
user:      itojun <itojun%NetBSD.org@localhost>
date:      Thu Jun 14 02:42:31 2001 +0000

description:
make it compile with KRB4 and not with KRB5.  from IIJ SEIL team

diffstat:

 crypto/dist/ssh/session.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 0c2b4fb73897 -r a3eef5fffc7b crypto/dist/ssh/session.c
--- a/crypto/dist/ssh/session.c Thu Jun 14 02:35:56 2001 +0000
+++ b/crypto/dist/ssh/session.c Thu Jun 14 02:42:31 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: session.c,v 1.13 2001/05/15 15:26:09 itojun Exp $      */
+/*     $NetBSD: session.c,v 1.14 2001/06/14 02:42:31 itojun Exp $      */
 /*
  * Copyright (c) 1995 Tatu Ylonen <ylo%cs.hut.fi@localhost>, Espoo, Finland
  *                    All rights reserved
@@ -409,9 +409,9 @@
                 */
                case SSH_CMSG_HAVE_KERBEROS_TGT:
                    {
+#ifdef KRB5
                        extern int ssh_krb_auth;
 
-#ifdef KRB5
                        if (ssh_krb_auth == 5) {
                                extern krb5_principal tkt_client;
                                extern char *ssh_krb_user;
@@ -438,8 +438,8 @@
 
                                xfree(tgt.data);
                        }
+                       else
 #endif /* KRB5 */
-                       else
                                log("Got TGT but didn't use Kerberos\n");
                        break;
                    }



Home | Main Index | Thread Index | Old Index