use krb5_cc_new_unique, use constants for cache types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25053 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -168,8 +168,8 @@ OM_uint32 _gsskrb5_add_cred ( | ||||
| 	    } | ||||
|  | ||||
| 	    if (strcmp(type, "MEMORY") == 0) { | ||||
| 		ret = krb5_cc_gen_new(context, &krb5_mcc_ops, | ||||
| 				      &handle->ccache); | ||||
| 		ret = krb5_cc_new_unique(context, type,  | ||||
| 					 NULL, &handle->ccache); | ||||
| 		if (ret) { | ||||
| 		    *minor_status = ret; | ||||
| 		    goto failure; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Love Hörnquist Åstrand
					Love Hörnquist Åstrand