Skip to content
Snippets Groups Projects
Commit bcdd316b authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

entropy should be unsigned

parent 3d57f2ae
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment