summaryrefslogtreecommitdiffstats
path: root/apps/app_rand.c
AgeCommit message (Collapse)Author
2015-04-24Big apps cleanup (option-parsing, etc)Rich Salz
This is merges the old "rsalz-monolith" branch over to master. The biggest change is that option parsing switch from cascasding 'else if strcmp("-foo")' to a utility routine and somethin akin to getopt. Also, an error in the command line no longer prints the full summary; use -help (or --help :) for that. There have been many other changes and code-cleanup, see bullet list below. Special thanks to Matt for the long and detailed code review. TEMPORARY: For now, comment out CRYPTO_mem_leaks() at end of main Tickets closed: RT3515: Use 3DES in pkcs12 if built with no-rc2 RT1766: s_client -reconnect and -starttls broke RT2932: Catch write errors RT2604: port should be 'unsigned short' RT2983: total_bytes undeclared #ifdef RENEG RT1523: Add -nocert to fix output in x509 app RT3508: Remove unused variable introduced by b09eb24 RT3511: doc fix; req default serial is random RT1325,2973: Add more extensions to c_rehash RT2119,3407: Updated to dgst.pod RT2379: Additional typo fix RT2693: Extra include of string.h RT2880: HFS is case-insensitive filenames RT3246: req command prints version number wrong Other changes; incompatibilities marked with *: Add SCSV support Add -misalign to speed command Make dhparam, dsaparam, ecparam, x509 output C in proper style Make some internal ocsp.c functions void Only display cert usages with -help in verify Use global bio_err, remove "BIO*err" parameter from functions For filenames, - always means stdin (or stdout as appropriate) Add aliases for -des/aes "wrap" ciphers. *Remove support for IISSGC (server gated crypto) *The undocumented OCSP -header flag is now "-header name=value" *Documented the OCSP -header flag Reviewed-by: Matt Caswell <matt@openssl.org>
2015-01-22Run util/openssl-format-source -v -c .Matt Caswell
Reviewed-by: Tim Hudson <tjh@openssl.org>
2001-02-20Use new-style system-id macros everywhere possible. I hope I haven'tRichard Levitte
missed any. This compiles and runs on Linux, and external applications have no problems with it. The definite test will be to build this on VMS.
2001-02-03If the source has already been succesfully queried, do not try to open itLutz Jänicke
again as file.
2000-10-23Don't ever set 'seeded' if RAND_status() returned 0Bodo Möller
(although maybe this static variable should be abolished totally, it was introduced before RAND_status existed).
2000-10-21There's no reason why app_RAND_load_file() should return 0 whenRichard Levitte
RAND_status() hasn't. Reported by Dale Stimson <dale@accentre.com>.
2000-03-04Read complete seed files given in -rand options.Bodo Möller
2000-03-03New '-dsaparam' option for 'openssl dhparam', and related fixes.Bodo Möller
2000-03-01Document the 'rand' application.Bodo Möller
2000-02-29'rand' application for creating pseudo-random files.Bodo Möller
2000-02-28Fix for non-monolithic build.Ulf Möller
Submitted by: Andrew Gray <agray@iconsinc.com>
2000-02-25EGD bugfix.Ulf Möller
Submitted by: Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
2000-02-24Support EGD.Ulf Möller
2000-02-03ispell (and minor modifications)Ulf Möller
2000-01-24RAND_load_file(..., -1) now means "read the complete file";Bodo Möller
this is what we now use to read $RANDFILE / $HOME/.rnd. (Previously, after 'cat'ting lots of stuff into .rnd only the first MB would be looked at.) Bugfix for apps/enc.c: Continue if RAND_pseudo_bytes returns 0 (only -1 is an error).
1999-11-08Fix to the -revoke option in ca. It was leaking memory, crashing and justDr. Stephen Henson
plain not working :-( Also fix some memory leaks in the new X509_NAME code. Fix so new app_rand code doesn't crash 'x509' and move #include so it compiles under Win32.
1999-10-26Warn about RANDFILE being overwritten.Bodo Möller
1999-10-26New file app_rand.c with some functionality used in various opensslBodo Möller
applications.