diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | acconfig.h | 5 | ||||
-rw-r--r-- | auth-krb5.c | 3 | ||||
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | gss-serv-krb5.c | 3 |
5 files changed, 7 insertions, 13 deletions
@@ -6,6 +6,10 @@ | |||
6 | - (dtucker) [auth-krb5.c] There's no guarantee that snprintf will set errno | 6 | - (dtucker) [auth-krb5.c] There's no guarantee that snprintf will set errno |
7 | in the case where the buffer is insufficient, so always return ENOMEM. | 7 | in the case where the buffer is insufficient, so always return ENOMEM. |
8 | Also pointed out by sxw at inf.ed.ac.uk. | 8 | Also pointed out by sxw at inf.ed.ac.uk. |
9 | - (dtucker) [acconfig.h auth-krb5.c configure.ac gss-serv-krb5.c] Remove | ||
10 | calls to krb5_init_ets, which has not been required since krb-1.1.x and | ||
11 | most Kerberos versions no longer export in their public API. From sxw | ||
12 | at inf.ed.ac.uk, ok djm@ | ||
9 | 13 | ||
10 | 20050706 | 14 | 20050706 |
11 | - (djm) OpenBSD CVS Sync | 15 | - (djm) OpenBSD CVS Sync |
@@ -2791,4 +2795,4 @@ | |||
2791 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 2795 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
2792 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 2796 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
2793 | 2797 | ||
2794 | $Id: ChangeLog,v 1.3837 2005/07/07 10:09:35 dtucker Exp $ | 2798 | $Id: ChangeLog,v 1.3838 2005/07/07 10:33:36 dtucker Exp $ |
diff --git a/acconfig.h b/acconfig.h index bb2e62d23..79b5e8191 100644 --- a/acconfig.h +++ b/acconfig.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: acconfig.h,v 1.182 2005/05/27 11:13:41 dtucker Exp $ */ | 1 | /* $Id: acconfig.h,v 1.183 2005/07/07 10:33:36 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 1999-2003 Damien Miller. All rights reserved. | 4 | * Copyright (c) 1999-2003 Damien Miller. All rights reserved. |
@@ -202,9 +202,6 @@ | |||
202 | /* Define if you don't want to use lastlog in session.c */ | 202 | /* Define if you don't want to use lastlog in session.c */ |
203 | #undef NO_SSH_LASTLOG | 203 | #undef NO_SSH_LASTLOG |
204 | 204 | ||
205 | /* Define if have krb5_init_ets */ | ||
206 | #undef KRB5_INIT_ETS | ||
207 | |||
208 | /* Define if you don't want to use utmp */ | 205 | /* Define if you don't want to use utmp */ |
209 | #undef DISABLE_UTMP | 206 | #undef DISABLE_UTMP |
210 | 207 | ||
diff --git a/auth-krb5.c b/auth-krb5.c index 6ae4f5fc4..c7367b49a 100644 --- a/auth-krb5.c +++ b/auth-krb5.c | |||
@@ -54,9 +54,6 @@ krb5_init(void *context) | |||
54 | problem = krb5_init_context(&authctxt->krb5_ctx); | 54 | problem = krb5_init_context(&authctxt->krb5_ctx); |
55 | if (problem) | 55 | if (problem) |
56 | return (problem); | 56 | return (problem); |
57 | #ifdef KRB5_INIT_ETS | ||
58 | krb5_init_ets(authctxt->krb5_ctx); | ||
59 | #endif | ||
60 | } | 57 | } |
61 | return (0); | 58 | return (0); |
62 | } | 59 | } |
diff --git a/configure.ac b/configure.ac index 027b2a4e1..e7475a9e5 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.276 2005/06/19 00:19:43 djm Exp $ | 1 | # $Id: configure.ac,v 1.277 2005/07/07 10:33:36 dtucker Exp $ |
2 | # | 2 | # |
3 | # Copyright (c) 1999-2004 Damien Miller | 3 | # Copyright (c) 1999-2004 Damien Miller |
4 | # | 4 | # |
@@ -2717,7 +2717,6 @@ AC_ARG_WITH(kerberos5, | |||
2717 | 2717 | ||
2718 | LIBS="$LIBS $K5LIBS" | 2718 | LIBS="$LIBS $K5LIBS" |
2719 | AC_SEARCH_LIBS(k_hasafs, kafs, AC_DEFINE(USE_AFS)) | 2719 | AC_SEARCH_LIBS(k_hasafs, kafs, AC_DEFINE(USE_AFS)) |
2720 | AC_SEARCH_LIBS(krb5_init_ets, $K5LIBS, AC_DEFINE(KRB5_INIT_ETS)) | ||
2721 | ] | 2720 | ] |
2722 | ) | 2721 | ) |
2723 | 2722 | ||
diff --git a/gss-serv-krb5.c b/gss-serv-krb5.c index c642a83fe..4f02621dd 100644 --- a/gss-serv-krb5.c +++ b/gss-serv-krb5.c | |||
@@ -65,9 +65,6 @@ ssh_gssapi_krb5_init(void) | |||
65 | logit("Cannot initialize krb5 context"); | 65 | logit("Cannot initialize krb5 context"); |
66 | return 0; | 66 | return 0; |
67 | } | 67 | } |
68 | #ifdef KRB5_INIT_ETS | ||
69 | krb5_init_ets(krb_context); | ||
70 | #endif | ||
71 | 68 | ||
72 | return 1; | 69 | return 1; |
73 | } | 70 | } |