static DSO_FUNC_TYPE dlfcn_bind_func(DSO *dso, const char *symname)
{
void *ptr;
- DSO_FUNC_TYPE sym;
+ DSO_FUNC_TYPE sym, *tsym = &sym;
if((dso == NULL) || (symname == NULL))
{
DSOerr(DSO_F_DLFCN_BIND_FUNC,DSO_R_NULL_HANDLE);
return(NULL);
}
- *(void**)(&sym) = dlsym(ptr, symname);
+ *(void**)(tsym) = dlsym(ptr, symname);
if(sym == NULL)
{
DSOerr(DSO_F_DLFCN_BIND_FUNC,DSO_R_SYM_FAILURE);
/*\r
- * Crude test driver for processing the VST and MCT testvector files generated by the CMVP\r
- * RNGVS product.\r
+ * Crude test driver for processing the VST and MCT testvector files\r
+ * generated by the CMVP RNGVS product.\r
*\r
- * Note the input files are assumed to have a _very_ specific format as described in the\r
- * NIST document "The Random Number Generator Validation System (RNGVS)", May 25, 2004.\r
+ * Note the input files are assumed to have a _very_ specific format\r
+ * as described in the NIST document "The Random Number Generator\r
+ * Validation System (RNGVS)", May 25, 2004.\r
*\r
-*/\r
+ */\r
#include <openssl/opensslconf.h>\r
\r
#ifndef OPENSSL_FIPS\r
int main()\r
{\r
printf("No FIPS RNG support\n");\r
- exit(0);\r
+ return 0;\r
}\r
#else\r
\r