entropy should be unsigned

This commit is contained in:
Kurt Zeilenga 2000-10-14 02:14:38 +00:00
parent 3d57f2ae67
commit bcdd316b86
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@ lutil_detach LDAP_P((
/* entropy.c */
LDAP_LUTIL_F( int )
lutil_entropy LDAP_P((
char *buf,
unsigned char *buf,
ber_len_t nbytes ));
/* passwd.c */

View file

@ -34,7 +34,7 @@
* This routinue should be extended to support additional sources
* of entropy.
*/
int lutil_entropy( char *buf, ber_len_t nbytes )
int lutil_entropy( unsigned char *buf, ber_len_t nbytes )
{
if( nbytes == 0 ) return 0;