From: Richard Basch Date: Thu, 20 Feb 1997 06:37:53 +0000 (+0000) Subject: Remove unnecessary calls to krb5_init_ets X-Git-Tag: krb5-1.1-beta1~1258 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8ec0cd0f1d0ca0ac35536b0bdfe0f37e5354dc8e;p=krb5.git Remove unnecessary calls to krb5_init_ets git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9933 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/windows/cns/cns.c b/src/windows/cns/cns.c index 10a491a73..205f93325 100644 --- a/src/windows/cns/cns.c +++ b/src/windows/cns/cns.c @@ -1738,10 +1738,8 @@ init_instance(HINSTANCE hinstance, int ncmdshow) krb5_error_code code; code = krb5_init_context(&k5_context); - if (!code) { - krb5_init_ets(k5_context); + if (!code) code = k5_init_ccache(&k5_ccache); - } if (code) { com_err(NULL, code, "while initializing program"); return FALSE; diff --git a/src/windows/wintel/telnet.c b/src/windows/wintel/telnet.c index 32f411812..1182fbcff 100644 --- a/src/windows/wintel/telnet.c +++ b/src/windows/wintel/telnet.c @@ -221,7 +221,6 @@ InitInstance(HANDLE hInstance, int nCmdShow) #ifdef KRB5 krb5_init_context(&k5_context); - krb5_init_ets(k5_context); #endif return (TRUE);