]> git.sur5r.net Git - openldap/blobdiff - clients/ud/ud.h
Fix format %x -> %lx in des_string_to_key
[openldap] / clients / ud / ud.h
index a5245479e3dce2eb64593a85c683ec221b1b4c0a..3dd04bbc372dc998e93785411eabcfba904792de 100644 (file)
@@ -1,3 +1,12 @@
+/*
+ * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted only
+ * as authorized by the OpenLDAP Public License.  A copy of this
+ * license is available at http://www.OpenLDAP.org/license.html or
+ * in file LICENSE in the top-level directory of the distribution.
+ */
 /*
  * Copyright (c) 1991, 1992, 1993 
  * Regents of the University of Michigan.  All rights reserved.
@@ -28,7 +37,7 @@
  *  parsing names.
  */
 #define MAX_NAME_COMPS         8
-#define isnamesepartor(x)      (isspace(x))
+#define isnamesepartor(x)      (isspace((unsigned char) (x)))
 #define isignorechar(x)                (((x) == '.') || ((x) == '_'))
 
 /*
@@ -261,7 +270,7 @@ void print_one_URL  LDAP_P(( char *s, int l_lead, char *tag, int u_lead ));
 /* in string_to_key.c: */
 #if defined(HAVE_KERBEROS) && !defined(openbsd) && defined(_AC_KRB_H)
 #if defined(HAVE_AFS_KERBEROS) || !defined(HAVE_KERBEROS_V)
-int  des_string_to_key LDAP_P(( char *str, des_cblock *key ));
+void  des_string_to_key        LDAP_P(( char *str, des_cblock *key ));
 #endif
 #if defined(HAVE_AFS_KERBEROS)
 void ka_StringToKey LDAP_P(( char *str, char *cell, des_cblock *key ));
@@ -269,7 +278,6 @@ void ka_StringToKey LDAP_P(( char *str, char *cell, des_cblock *key ));
 #endif
 
 /* in util.c: */
-char *mygetpass        LDAP_P(( char *prompt ));
 void printbase LDAP_P(( char *lead, char *s ));
 void fetch_buffer      LDAP_P(( char *buffer, int length, FILE *where ));
 void fatal     LDAP_P(( char *s ));