always bail out if the fetch fails
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7340 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -60,7 +60,7 @@ kadm5_s_randkey_principal(void *server_handle,
|
||||
if(ret)
|
||||
return ret;
|
||||
ret = context->db->fetch(context->context, context->db, 0, &ent);
|
||||
if(ret == HDB_ERR_NOENTRY)
|
||||
if(ret)
|
||||
goto out;
|
||||
|
||||
ret = _kadm5_set_keys_randomly (context,
|
||||
|
Reference in New Issue
Block a user