summaryrefslogtreecommitdiff
path: root/src/librandom/badrandom_string.c
blob: ec20f5b1d91e27ce0032fac22458782c9074e32b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* ISC license. */

/* MT-unsafe */

#include <skalibs/rrandom.h>
#include "random-internal.h"
#include <skalibs/random.h>

unsigned int badrandom_string (char *s, unsigned int n)
{
  return rrandom_readnb(&badrandom_here, s, n) ;
}