openssl/util
Rich Salz 7e1b748570 Big apps cleanup (option-parsing, etc)
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-04-24 15:26:15 -04:00
..
pl Drop CA.sh for CA.pl 2015-04-08 14:07:39 -04:00
add_cr.pl Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
bat.sh Remove remaining variables for symlinked/copied headers and tests 2015-03-31 20:16:01 +02:00
ck_errf.pl Fix make errors 2015-01-22 09:20:07 +00:00
clean-depend.pl Fix dependencies. Make depend. 2007-09-19 14:53:18 +00:00
copy-if-different.pl Remove unused variable. 2013-03-04 22:48:38 +00:00
copy.pl add -stripcr option to copy.pl from 0.9.8 2011-02-03 14:57:51 +00:00
cygwin.sh util/cygwin.sh update. 2012-03-31 11:06:46 +00:00
deleof.pl Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
deltree.com Break out deltree in its' own command procedure. 2006-02-26 10:44:57 +00:00
dirname.pl Make perl replacement for dirname, for system that lack the latter. 2002-06-05 14:10:59 +00:00
do_ms.sh More consistency. 1999-05-31 21:58:18 +00:00
domd fix domd 2013-01-23 00:43:09 +00:00
err-ins.pl Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
extract-names.pl Change spaces to symbols in names. 2004-03-25 19:52:34 +00:00
extract-section.pl Allow alternative manual sections to be embedded in .pod file comments. 2004-11-25 17:47:31 +00:00
files.pl Improve variable parsing when generating MINFO 2014-11-16 16:44:44 -05:00
fipsdist.pl Don't use vpaes in fips builds and exclude from restricted tarball. 2011-09-15 21:06:37 +00:00
fipslink.pl util/fipslink.pl: further adjustments. 2012-10-27 23:36:43 +00:00
fipsobj.pl *** empty log message *** 2011-02-21 15:15:58 +00:00
fixNT.sh get rid of Makefile.ssl in util/ 2005-04-27 08:56:15 +00:00
FreeBSD.sh Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
incore fipsld, incore: switch to new cross-compile support. 2011-11-06 23:22:58 +00:00
indent.pro Big apps cleanup (option-parsing, etc) 2015-04-24 15:26:15 -04:00
install.sh Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
libeay.num update ordinals 2015-04-03 18:31:15 +01:00
mk1mf.pl Remove remaining variables for symlinked/copied headers and tests 2015-03-31 20:16:01 +02:00
mkbuildinf.pl Fix build failure on Windows due to undefined cflags identifier 2015-01-08 19:21:24 +00:00
mkcerts.sh Fix buggy #! magic and update ssleay->openssl 2002-11-15 21:26:42 +00:00
mkdef.pl remove asn1_mac.h 2015-04-03 18:31:15 +01:00
mkdir-p.pl Update from stable branch. 2005-11-06 17:58:26 +00:00
mkerr.pl Have mkerr.pl treat already existing multiline string defs properly 2015-04-08 21:44:43 +02:00
mkfiles.pl Remove fips directories from mkfiles.pl 2014-12-08 14:01:47 +00:00
mkrc.pl Further mingw build procedure updates. 2006-10-24 22:14:20 +00:00
mkstack.pl Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
openssl-format-source Fix format script. 2015-03-02 13:26:29 +00:00
opensslwrap.sh opensslwrap.sh to respect $OPENSSL_ENGINES. 2006-12-29 15:00:36 +00:00
perlpath.pl Be less restrictive and allow also `perl util/perlpath.pl /path/to/bin/perl' 1999-03-10 19:57:05 +00:00
point.sh Updates from 1.0.0-stable 2009-04-06 15:22:01 +00:00
selftest.pl Updates from 1.0.0-stable. 2009-04-15 15:27:03 +00:00
shlib_wrap.sh Make Makefiles OSF-make-friendly. 2013-11-12 21:51:37 +01:00
sp-diff.pl MD4 implemented. Assar Westerlund provided the digest code itself and the test utility, I added the bits to get a EVP interface, the command line utility and the speed test 2000-08-14 14:05:53 +00:00
speed.sh Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
src-dep.pl Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
ssleay.num Big apps cleanup (option-parsing, etc) 2015-04-24 15:26:15 -04:00
su-filter.pl Delete trailing whitespace from output. 2015-01-22 09:20:09 +00:00
tab_num.pl Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
x86asm.sh Import of old SSLeay release: SSLeay 0.9.1b (unreleased) 1998-12-21 11:00:56 +00:00