(krb5_cc_new_unique): use KRB5_DEFAULT_CCNAME as the default prefix
authorLove Hörnquist Åstrand <lha@kth.se>
Fri, 30 Jun 2006 17:08:40 +0000 (17:08 +0000)
committerLove Hörnquist Åstrand <lha@kth.se>
Fri, 30 Jun 2006 17:08:40 +0000 (17:08 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17762 ec53bebd-3082-4978-b11e-865c3cabbd6b

lib/krb5/cache.c

index 95b7408226c7c5275578092a0231d3ac9cc65729..817298586dd24bff06280d2c66929e9583522cb1 100644 (file)
@@ -188,7 +188,7 @@ krb5_cc_new_unique(krb5_context context, const char *type,
     const krb5_cc_ops *ops;
 
     if (type == NULL)
-       type = "FILE";
+       type = KRB5_DEFAULT_CCNAME;
 
     ops = krb5_cc_get_prefix_ops(context, type);
     if (ops == NULL) {