catch error from krb5_store_int32

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24842 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2009-02-27 03:28:19 +00:00
parent e1e65f1fbd
commit 08b3bcc294

View File

@@ -1172,6 +1172,8 @@ krb5_store_creds_tag(krb5_storage *sp, krb5_creds *creds)
header |= SC_ADDRESSES; header |= SC_ADDRESSES;
ret = krb5_store_int32(sp, header); ret = krb5_store_int32(sp, header);
if (ret)
return ret;
if (creds->client) { if (creds->client) {
ret = krb5_store_principal(sp, creds->client); ret = krb5_store_principal(sp, creds->client);