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