aboutsummaryrefslogtreecommitdiffstats
path: root/apps/ts.c
Commit message (Collapse)AuthorAgeFilesLines
* Use p==NULL not !p (in if statements, mainly)Rich Salz2015-05-111-40/+42
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* In apps, malloc or dieRich Salz2015-04-301-6/+2
| | | | | | | | No point in proceeding if you're out of memory. So change *all* OPENSSL_malloc calls in apps to use the new routine which prints a message and exits. Reviewed-by: Richard Levitte <levitte@openssl.org>
* Big apps cleanup (option-parsing, etc)Rich Salz2015-04-241-231/+211
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* free NULL cleanupRich Salz2015-03-251-1/+1
| | | | | | | This commit handles BIO_ACCEPT_free BIO_CB_FREE BIO_CONNECT_free BIO_free BIO_free_all BIO_vfree Reviewed-by: Matt Caswell <matt@openssl.org>
* Re-align some comments after running the reformat script.Matt Caswell2015-01-221-13/+13
| | | | | | | This should be a one off operation (subsequent invokation of the script should not move them) Reviewed-by: Tim Hudson <tjh@openssl.org>
* Run util/openssl-format-source -v -c .Matt Caswell2015-01-221-969/+941
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* RT3548: Remove unsupported platformsRich Salz2015-01-121-4/+4
| | | | | | | This last one for this ticket. Removes WIN16. So long, MS_CALLBACK and MS_FAR. We won't miss you. Reviewed-by: Richard Levitte <levitte@openssl.org>
* mark all block comments that need format preserving so thatTim Hudson2014-12-301-1/+1
| | | | | | | indent will not alter them when reformatting comments Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
* Fix some warnings caused by __owur. Temporarily (I hope) remove the moreBen Laurie2011-11-141-1/+2
| | | | aspirational __owur annotations.
* Use new X509_STORE_set_verify_cb function instead of old macro.Dr. Stephen Henson2009-10-181-1/+1
|
* Submitted by: Julia Lawall <julia@diku.dk>Dr. Stephen Henson2009-09-131-1/+1
| | | | | | The functions ENGINE_ctrl(), OPENSSL_isservice(), EVP_PKEY_sign(), CMS_get1_RecipientRequest() and RAND_bytes() can return <=0 on error fix so the return code is checked correctly.
* Update from 1.0.0-stable.Dr. Stephen Henson2009-04-011-0/+3
|
* If we're going to return errors (no matter how stupid), then we shouldBen Laurie2008-12-291-0/+2
| | | | test for them!
* Make no-engine work again.Dr. Stephen Henson2008-12-201-1/+2
|
* Fix a variety of warnings generated by some elevated compiler-fascism,Geoff Thorpe2008-03-161-0/+1
| | | | OPENSSL_NO_DEPRECATED, etc. Steve, please double-check the CMS stuff...
* ensure the pointer is valid before using itNils Larsch2006-03-181-0/+2
|
* TS bugfixes: Do not hardcode message digest algorithms; fix ASN1 decoding.Ulf Möller2006-02-261-10/+4
| | | | Submitted by: Zoltan Glozik <zglozik@opentsa.org>
* fix warning: add missing prototypeNils Larsch2006-02-131-0/+1
|
* RFC 3161 compliant time stamp request creation, response generationUlf Möller2006-02-121-0/+1143
and response verification. Submitted by: Zoltan Glozik <zglozik@opentsa.org> Reviewed by: Ulf Moeller