summaryrefslogtreecommitdiff
path: root/src/librandom/goodrandom_string.c
blob: 556c41c44cf0fafec71a718725b9fd5d742d1955 (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 goodrandom_string (char *s, unsigned int n)
{
  return rrandom_readb(&goodrandom_here, s, n) ;
}