summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/apps/ts.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move openssl(1) from /usr/sbin/openssl to /usr/bin/openssl, since it is notjsing2014-08-261-1102/+0
| | | | | | | | a system/superuser binary. At the same time, move the source code from its current lib/libssl/src/apps location to a more appropriate home under usr.bin/openssl. ok deraadt@ miod@
* openssl(1) is only built as a single monolithic binary, so just calljsing2014-07-121-4/+1
| | | | | | load_config() once when we start. ok miod@
* tags as requested by miod and teduderaadt2014-06-121-1/+1
|
* Stop pretending that openssl(1) applications support the -rand option.jsing2014-06-021-6/+1
| | | | | | | | | | | | The underlying code has long been removed, making this a no-op. If your random subsystem actually requires that you seed it from a file, then you really should go and buy a new random subsystem that was built after 1990. Diff from Brent Cook. ok deraadt@
* Calling signal once to ignore SIGPIPE is sufficient - we do not need to dojsing2014-05-231-2/+0
| | | | | | this again in each app. ok miod@
* It is perfectly valid to call free(NULL), so stop checking for non-NULLjsing2014-05-191-0/+1
| | | | before calling free - of some course parts of the code already did this.
* Group and sort includes.jsing2014-05-181-2/+3
| | | | | | | | Currently "apps.h" needs to be included before any of the openssl headers and there are several cases where the code depends on headers that are included by something included by apps.h... More untangling saved for later on.
* bio_err is initialised in main, hence there is no need to initialise itjsing2014-05-181-9/+3
| | | | | | | | | | | | in each application (since there is no longer a non-monolithic mode). In typical OpenSSL fashion, the code is inconsistent and there are multiple ways that bio_err was initialised - none of them actually checked to see if the initialisation actually succeeded. Additionally, it is worth noting that in at least two cases bio_err was also being used before it would have been initialised. ok miod@
* When OPENSSL_C is not defined, apps_startup becomes ajsing2014-04-241-1/+1
| | | | | | | signal(SIGPIPE, SIG_IGN) and apps_shutdown is a no-op. So just do that instead. ok beck@
* More KNF.jsing2014-04-221-36/+32
|
* $HOME/.rnd will never be a good source of entropy. ok becktedu2014-04-181-10/+0
|
* simplify file:file:... stuffderaadt2014-04-181-3/+2
|
* whitespace normalizationtedu2014-04-181-16/+8
|
* Remove MAIN and PROG defines now that we do not compile non-monolithic.jsing2014-04-181-4/+2
| | | | ok tedu@
* KaboomNFtedu2014-04-181-517/+511
|
* Mostly gut e_os.h:deraadt2014-04-171-2/+2
| | | | | | | | USE_SOCKETS is unrelated to using sockets, but just pulls in .h files. It makes every file buy a kitchen sink, because 11 files forgot to. EXIT() is really exit(), a gentle surprise but... OPENSSL_EXIT() is really just return(), because noone compiles the openssl command non-monolithic anymore
* Change library to use intrinsic memory allocation functions instead ofbeck2014-04-171-6/+6
| | | | | | | | OPENSSL_foo wrappers. This changes: OPENSSL_malloc->malloc OPENSSL_free->free OPENSSL_relloc->realloc OPENSSL_freeFunc->free
* remove more cases of MS_STATIC, MS_CALLBACK, and MS_FAR. Did youderaadt2014-04-131-4/+4
| | | | | | | know that MS_STATIC doesn't mean it is static? How far can lies and half-truths be layered? I wonder if anyone got fooled, and actually returned a pointer.. ok beck
* import OpenSSL-1.0.0adjm2010-10-011-2/+5
|
* import of OpenSSL 0.9.8kdjm2009-04-061-0/+1144