(_kadm5_set_keys): initialize `ret'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5053 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1997 Kungliga Tekniska H<>gskolan
|
* Copyright (c) 1997, 1998 Kungliga Tekniska H<>gskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -46,8 +46,9 @@ _kadm5_set_keys(kadm5_server_context *context,
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
krb5_data salt;
|
krb5_data salt;
|
||||||
kadm5_ret_t ret;
|
kadm5_ret_t ret = 0;
|
||||||
Key *key;
|
Key *key;
|
||||||
|
|
||||||
krb5_get_salt(ent->principal, &salt);
|
krb5_get_salt(ent->principal, &salt);
|
||||||
for(i = 0; i < ent->keys.len; i++) {
|
for(i = 0; i < ent->keys.len; i++) {
|
||||||
key = &ent->keys.val[i];
|
key = &ent->keys.val[i];
|
||||||
|
Reference in New Issue
Block a user