Ignore:
Timestamp:
Dec 27, 2017, 9:30:51 PM (7 years ago)
Author:
tellie
Message:

whois: update vendor to version 5.2.20

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified whois/vendor/current/mkpasswd.c

    r2253 r2267  
    365365void* get_random_bytes(const unsigned int count)
    366366{
    367     char *buf;
    368     int fd;
    369     ssize_t bytes_read;
    370 
    371     buf = NOFAIL(malloc(count));
     367    char *buf = NOFAIL(malloc(count));
     368
    372369#if defined HAVE_ARC4RANDOM_BUF
    373370    arc4random_buf(buf, count);
     
    376373        perror("getentropy");
    377374#else
     375    int fd;
     376    ssize_t bytes_read;
     377
    378378    fd = open(RANDOM_DEVICE, O_RDONLY);
    379379    if (fd < 0) {
Note: See TracChangeset for help on using the changeset viewer.