summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8a1d198)
Remove old type name `bbs_param'.
- * $Id: rspit.c,v 1.4 2000/06/17 12:08:28 mdw Exp $
+ * $Id: rspit.c,v 1.5 2000/07/01 11:27:03 mdw Exp $
*
* Spit out random numbers
*
*
* Spit out random numbers
*
/*----- Revision history --------------------------------------------------*
*
* $Log: rspit.c,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: rspit.c,v $
+ * Revision 1.5 2000/07/01 11:27:03 mdw
+ * Portability fix: don't assume that `stdout' is a constant expression.
+ * Remove old type name `bbs_param'.
+ *
* Revision 1.4 2000/06/17 12:08:28 mdw
* Restructure handling of cipher-based generators. Add counter-mode
* ciphers and MGF-1 hash functions. Add FIPS 140-1 and Maurer's tests.
* Revision 1.4 2000/06/17 12:08:28 mdw
* Restructure handling of cipher-based generators. Add counter-mode
* ciphers and MGF-1 hash functions. Add FIPS 140-1 and Maurer's tests.
/*----- Miscellaneous static data -----------------------------------------*/
/*----- Miscellaneous static data -----------------------------------------*/
-static FILE *outfp = stdout;
static size_t outsz = 0;
static int argc;
static size_t outsz = 0;
static int argc;
m = MP_COPY(kd->u.m);
key_close(&kf);
} else {
m = MP_COPY(kd->u.m);
key_close(&kf);
} else {
if (bbs_gen(&bp, bits, &rand_global, 0,
(flags & f_progress) ? pgen_ev : 0, 0))
if (bbs_gen(&bp, bits, &rand_global, 0,
(flags & f_progress) ? pgen_ev : 0, 0))
addopts(sopts, opts);
argc = ac;
argv = av;
addopts(sopts, opts);
argc = ac;
argv = av;
/* --- Read the generator out of the first argument --- */
/* --- Read the generator out of the first argument --- */