From: Todd C. Miller Date: Fri, 4 Apr 2003 03:04:09 +0000 (+0000) Subject: Replace ETYPE_DES_CBC_MD5 with ENCTYPE_DES_CBC_MD5. The former X-Git-Tag: SUDO_1_6_8~340 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d220757146720a4ced628b1d7fbec5c052931216;p=sudo Replace ETYPE_DES_CBC_MD5 with ENCTYPE_DES_CBC_MD5. The former is no longer defined by MIT kerb5 (though it used to be and indeed remains so in Heimdal). --- diff --git a/auth/kerb5.c b/auth/kerb5.c index 00d3eceee..ab9fcf2ac 100644 --- a/auth/kerb5.c +++ b/auth/kerb5.c @@ -276,7 +276,7 @@ verify_krb_v5_tgt(sudo_context, ccache, auth_name) * and enctype is currently ignored anyhow.) */ if ((error = krb5_kt_read_service_key(sudo_context, NULL, princ, 0, - ETYPE_DES_CBC_MD5, &keyblock))) { + ENCTYPE_DES_CBC_MD5, &keyblock))) { /* Keytab or service key does not exist. */ log_error(NO_EXIT, "%s: host service key not found: %s", auth_name,