(acquire_initiator_cred): use kret instead of ret where appropriate
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12976 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -118,7 +118,7 @@ static OM_uint32 acquire_initiator_cred | |||||||
| 	if (kret) | 	if (kret) | ||||||
| 	    goto end; | 	    goto end; | ||||||
| 	kret = krb5_get_init_creds_opt_alloc(gssapi_krb5_context, &opt); | 	kret = krb5_get_init_creds_opt_alloc(gssapi_krb5_context, &opt); | ||||||
| 	if (ret) | 	if (kret) | ||||||
| 	    goto end; | 	    goto end; | ||||||
| 	kret = krb5_get_init_creds_keytab(gssapi_krb5_context, &cred, | 	kret = krb5_get_init_creds_keytab(gssapi_krb5_context, &cred, | ||||||
| 	    handle->principal, keytab, 0, NULL, opt); | 	    handle->principal, keytab, 0, NULL, opt); | ||||||
|   | |||||||
| @@ -118,7 +118,7 @@ static OM_uint32 acquire_initiator_cred | |||||||
| 	if (kret) | 	if (kret) | ||||||
| 	    goto end; | 	    goto end; | ||||||
| 	kret = krb5_get_init_creds_opt_alloc(gssapi_krb5_context, &opt); | 	kret = krb5_get_init_creds_opt_alloc(gssapi_krb5_context, &opt); | ||||||
| 	if (ret) | 	if (kret) | ||||||
| 	    goto end; | 	    goto end; | ||||||
| 	kret = krb5_get_init_creds_keytab(gssapi_krb5_context, &cred, | 	kret = krb5_get_init_creds_keytab(gssapi_krb5_context, &cred, | ||||||
| 	    handle->principal, keytab, 0, NULL, opt); | 	    handle->principal, keytab, 0, NULL, opt); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Love Hörnquist Åstrand
					Love Hörnquist Åstrand