Replace ETYPE_DES_CBC_MD5 with ENCTYPE_DES_CBC_MD5. The former
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 4 Apr 2003 03:04:09 +0000 (03:04 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 4 Apr 2003 03:04:09 +0000 (03:04 +0000)
is no longer defined by MIT kerb5 (though it used to be and indeed
remains so in Heimdal).

auth/kerb5.c

index 00d3eceee75903eb91b9882ecac79a2a5bd5de35..ab9fcf2ac24b50fd9437113ad90bafa94b0e27b2 100644 (file)
@@ -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,