Changes in lib/misc.c [6a78c0e:424e663]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/misc.c
r6a78c0e r424e663 373 373 void random_bytes( unsigned char *buf, int count ) 374 374 { 375 #ifndef _WIN32376 375 static int use_dev = -1; 377 376 … … 423 422 424 423 if( !use_dev ) 425 #endif426 424 { 427 425 int i; … … 584 582 md5_byte_t pass_md5[16]; 585 583 md5_state_t md5_state; 586 int ret = -1, i; 587 588 if( base64_decode( hash, &pass_dec ) == 21 ) 584 int ret, i; 585 586 if( base64_decode( hash, &pass_dec ) != 21 ) 587 { 588 ret = -1; 589 } 590 else 589 591 { 590 592 md5_init( &md5_state );
Note: See TracChangeset
for help on using the changeset viewer.