summaryrefslogtreecommitdiff
path: root/security/sudo/patches/patch-ai
blob: 84e6770b5a36f4e668ad59c6fa0361ea3cf4f27f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ai,v 1.4 2008/03/11 15:52:51 taca Exp $

--- auth/kerb5.c.orig	2008-02-14 07:17:41.000000000 +0900
+++ auth/kerb5.c
@@ -220,11 +220,7 @@ kerb5_verify(pw, pass, auth)
 
 done:
     if (opts) {
-#ifdef HAVE_HEIMDAL
-	krb5_get_init_creds_opt_free(opts);
-#else
 	krb5_get_init_creds_opt_free(sudo_context, opts);
-#endif
     }
     if (creds)
 	krb5_free_cred_contents(sudo_context, creds);