Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages  

Ticket randomness


Files

file  random.c
file  random.h

Functions

const char * cas_read_CASEGDFile (cmd_parms *cmd, void *dummy, const char *word)
int cas_random_ticket (char *buf, int buflen, char *egdfile)

Function Documentation

int cas_random_ticket char *  buf,
int  buflen,
char *  egdfile
 

Constructs a random ticket value and stores it in the buffer provided.

Note:
The buffer is terminated with '\0'.
Returns:
0 on unexpected failure, 1 otherwise.
Draw entropy from the EGD if necessary.

Now, use OpenSSL to produce random bytes.

const char* cas_read_CASEGDFile cmd_parms *  cmd,
void *  dummy,
const char *  word
 

Command handler for the CASEGDFile directive.

Parameters:
cmd the directive given by the configuration file
dummy not used.
word the parameter of the directive
Returns:
always NULL (success)


Generated on Thu Jun 26 14:33:06 2003 for mod_cas by doxygen1.3