From 85904bdecd2cef74ead65157dbfc0e3a94d6d7fc Mon Sep 17 00:00:00 2001 From: John Kohl Date: Tue, 29 May 1990 15:18:45 +0000 Subject: [PATCH] new interface to krb5_cc_default git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@957 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/sample/sclient/sclient.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/appl/sample/sclient/sclient.c b/src/appl/sample/sclient/sclient.c index a11eaf385..454c04ac4 100644 --- a/src/appl/sample/sclient/sclient.c +++ b/src/appl/sample/sclient/sclient.c @@ -167,7 +167,10 @@ char *argv[]; exit(1); } - ccdef = krb5_cc_default(); + if (retval = krb5_cc_default(&ccdef)) { + com_err(argv[0], retval, "while getting default ccache"); + exit(1); + } if (retval = krb5_mk_req(server, 0, &send_cksum, ccdef, &send_data)) { com_err(argv[0], retval, "while preparing AP_REQ"); -- 2.26.2