* admin_server.c (process_client): Do not assign negative value to
unsigned variable.
(convert_kadm5_to_kadm): Return krb5_int32 instead of krb5_ui_4 to
be compatible with error codes.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13993
dc483132-0cff-0310-8789-
dd5450dbe970
+2001-11-19 Ezra Peisach <epeisach@mit.edu>
+
+ * kadm_server.h: Update prototype for convert_kadm5_to_kadm.
+
+ * admin_server.c (process_client): Do not assign negative value to
+ unsigned variable.
+ (convert_kadm5_to_kadm): Return krb5_int32 instead of krb5_ui_4 to
+ be compatible with error codes.
+
2001-07-09 Ezra Peisach <epeisach@mit.edu>
* admin_server.c: Provide prototype for do_child and declare static.
/* ugh... clean this up later */
if (status == KRB5_KDB_DB_INUSE) {
/* db locked */
- krb5_ui_4 retcode = KADM_DB_INUSE;
+ krb5_ui_4 retcode;
char *pdat;
dat_len = KADM_VERSIZE + sizeof(krb5_ui_4);
}
#ifdef KADM5
-krb5_ui_4 convert_kadm5_to_kadm(val)
- krb5_ui_4 val;
+krb5_int32 convert_kadm5_to_kadm(val)
+ krb5_int32 val;
{
switch (val) {
case KADM5_AUTH_GET:
/* admin_server.c */
#ifdef KADM5
-krb5_ui_4 convert_kadm5_to_kadm(krb5_ui_4);
+krb5_int32 convert_kadm5_to_kadm(krb5_int32);
#endif
#endif /* KADM_SERVER_DEFS */