Source-Changes-HG archive

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

[src/trunk]: src/lib/libtelnet pass the right enum to krb5_auth_con_setkeytyp...



details:   https://anonhg.NetBSD.org/src/rev/fc2fd069770a
branches:  trunk
changeset: 982399:fc2fd069770a
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Apr 12 09:17:48 2021 +0000

description:
pass the right enum to krb5_auth_con_setkeytype().

diffstat:

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

diffs (18 lines):

diff -r 38aef277dca1 -r fc2fd069770a lib/libtelnet/kerberos5.c
--- a/lib/libtelnet/kerberos5.c Mon Apr 12 09:17:10 2021 +0000
+++ b/lib/libtelnet/kerberos5.c Mon Apr 12 09:17:48 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kerberos5.c,v 1.20 2014/04/26 22:10:40 joerg Exp $     */
+/*     $NetBSD: kerberos5.c,v 1.21 2021/04/12 09:17:48 mrg Exp $       */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -228,7 +228,7 @@
                return (0);
        }
        krb5_auth_con_setkeytype(telnet_context, auth_context,
-           ETYPE_DES_CBC_CRC);
+           KRB5_ENCTYPE_DES_CBC_CRC);
 
        foo[0] = ap->type;
        foo[1] = ap->way;



Home | Main Index | Thread Index | Old Index