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

#include <skalibs/random.h>

unsigned char badrandom_char (void)
{
  unsigned char c ;
  random_string((char *)&c, 1) ;
  return c ;
}