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/e618108bafa5
branches:  trunk
changeset: 961575:e618108bafa5
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 97753e41d4e8 -r e618108bafa5 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