Source-Changes-HG archive

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

[src/trunk]: src/lib/libtelnet Avoid enum type mismatch.



details:   https://anonhg.NetBSD.org/src/rev/6f471ab3f9fb
branches:  trunk
changeset: 328981:6f471ab3f9fb
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat Apr 26 22:10:40 2014 +0000

description:
Avoid enum type mismatch.

diffstat:

 lib/libtelnet/kerberos5.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 4edf56d74c08 -r 6f471ab3f9fb lib/libtelnet/kerberos5.c
--- a/lib/libtelnet/kerberos5.c Sat Apr 26 20:26:26 2014 +0000
+++ b/lib/libtelnet/kerberos5.c Sat Apr 26 22:10:40 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kerberos5.c,v 1.19 2012/01/09 15:25:33 christos Exp $  */
+/*     $NetBSD: kerberos5.c,v 1.20 2014/04/26 22:10:40 joerg Exp $     */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -227,7 +227,8 @@
                }
                return (0);
        }
-       krb5_auth_con_setkeytype(telnet_context, auth_context, KEYTYPE_DES);
+       krb5_auth_con_setkeytype(telnet_context, auth_context,
+           ETYPE_DES_CBC_CRC);
 
        foo[0] = ap->type;
        foo[1] = ap->way;



Home | Main Index | Thread Index | Old Index