Fix warnings.
This commit is contained in:
@@ -193,7 +193,6 @@ add_kvno_diff(krb5_context context, kadm5_principal_ent_rec *princ,
|
|||||||
HDB_extension ext;
|
HDB_extension ext;
|
||||||
krb5_data buf;
|
krb5_data buf;
|
||||||
size_t size = 0;
|
size_t size = 0;
|
||||||
int type;
|
|
||||||
|
|
||||||
if (kvno_diff < 0)
|
if (kvno_diff < 0)
|
||||||
return;
|
return;
|
||||||
|
@@ -90,7 +90,7 @@ main(int argc, char **argv)
|
|||||||
keyset.kvno = kvno_integer;
|
keyset.kvno = kvno_integer;
|
||||||
keyset.set_time = malloc(sizeof (*keyset.set_time));
|
keyset.set_time = malloc(sizeof (*keyset.set_time));
|
||||||
if (keyset.set_time == NULL)
|
if (keyset.set_time == NULL)
|
||||||
errx(1, "couldn't allocate set_time field of keyset", ret);
|
errx(1, "couldn't allocate set_time field of keyset");
|
||||||
*keyset.set_time = time(NULL);
|
*keyset.set_time = time(NULL);
|
||||||
|
|
||||||
ret = hdb_generate_key_set_password(context, principal, password_str,
|
ret = hdb_generate_key_set_password(context, principal, password_str,
|
||||||
|
Reference in New Issue
Block a user