summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/apps/speed.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move openssl(1) from /usr/sbin/openssl to /usr/bin/openssl, since it is notjsing2014-08-261-2170/+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@
* whitespacederaadt2014-07-141-9/+9
|
* 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@
* unifdef a whole bunch of NO RSA/DSA/ECDH defines i deleted from libssltedu2014-07-091-111/+1
|
* Use strtonum() instead of atoi(), and then impose what are we thinkderaadt2014-06-281-10/+19
| | | | | | are the current range checks. Help from millert and lteo. Please test now that it is deployed and let us know if any numbers are off.. ok lteo
* tags as requested by miod and teduderaadt2014-06-121-1/+1
|
* c-file-style hints, begone; ok beckderaadt2014-06-111-1/+1
|
* malloc() result does not need a cast.deraadt2014-06-071-2/+2
| | | | ok miod
* convert 53 malloc(a*b) to reallocarray(NULL, a, b). that is 53deraadt2014-05-291-1/+1
| | | | | | | | | potential integer overflows easily changed into an allocation return of NULL, with errno nicely set if need be. checks for an allocations returning NULL are commonplace, or if the object is dereferenced (quite normal) will result in a nice fault which can be detected & repaired properly. ok tedu
* Calling signal once to ignore SIGPIPE is sufficient - we do not need to dojsing2014-05-231-1/+0
| | | | | | this again in each app. ok miod@
* It is perfectly valid to call free(NULL), so stop checking for non-NULLjsing2014-05-191-4/+2
| | | | before calling free - of some course parts of the code already did this.
* Group and sort includes.jsing2014-05-181-3/+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-5/+0
| | | | | | | | | | | | 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@
* no no md2tedu2014-05-171-29/+0
|
* deleted seed some time agotedu2014-05-171-35/+0
|
* remove crazy #undefs; ok jsingderaadt2014-05-021-2/+0
|
* Sort and group includes. We also do not need to include openssl/evp.h morejsing2014-05-021-45/+47
| | | | | | than once. ok beck@
* When OPENSSL_C is not defined, apps_startup becomes ajsing2014-04-241-2/+2
| | | | | | | signal(SIGPIPE, SIG_IGN) and apps_shutdown is a no-op. So just do that instead. ok beck@
* Rip a bunch of ifdefs from speed. We know we can fork, have SIGALRM andjsing2014-04-241-267/+2
| | | | | | do not use lint. ok miod@
* Nuke the last of the windows related defines from the openssl apps.jsing2014-04-221-15/+0
| | | | ok deraadt@
* another "string to make the random number generator think it has entropy"tedu2014-04-181-23/+0
|
* Remove MAIN and PROG defines now that we do not compile non-monolithic.jsing2014-04-181-4/+2
| | | | ok tedu@
* KaboomNFtedu2014-04-181-1640/+1514
|
* Unifdef OPENSSL_FIPS.jsing2014-04-181-17/+0
| | | | ok miod@
* oops, exit vs return; spotted by matthewderaadt2014-04-171-1/+1
|
* Mostly gut e_os.h:deraadt2014-04-171-1/+1
| | | | | | | | 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-4/+4
| | | | | | | | OPENSSL_foo wrappers. This changes: OPENSSL_malloc->malloc OPENSSL_free->free OPENSSL_relloc->realloc OPENSSL_freeFunc->free
* unistd.h is always in the same place; no need to #include the result ofderaadt2014-04-171-1/+1
| | | | a maze of conditional #define's
* lots of ifdef cleanuptedu2014-04-161-40/+0
|
* first round of unifdef hammeringtedu2014-04-161-4/+0
|
* spray the apps directory with anti-VMS napalm.tedu2014-04-161-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | so that its lovecraftian horror is not forever lost, i reproduce below a comment from the deleted code. /* 2011-03-22 SMS. * If we have 32-bit pointers everywhere, then we're safe, and * we bypass this mess, as on non-VMS systems. (See ARGV, * above.) * Problem 1: Compaq/HP C before V7.3 always used 32-bit * pointers for argv[]. * Fix 1: For a 32-bit argv[], when we're using 64-bit pointers * everywhere else, we always allocate and use a 64-bit * duplicate of argv[]. * Problem 2: Compaq/HP C V7.3 (Alpha, IA64) before ECO1 failed * to NULL-terminate a 64-bit argv[]. (As this was written, the * compiler ECO was available only on IA64.) * Fix 2: Unless advised not to (VMS_TRUST_ARGV), we test a * 64-bit argv[argc] for NULL, and, if necessary, use a * (properly) NULL-terminated (64-bit) duplicate of argv[]. * The same code is used in either case to duplicate argv[]. * Some of these decisions could be handled in preprocessing, * but the code tends to get even uglier, and the penalty for * deciding at compile- or run-time is tiny. */
* Merge conflicts; remove MacOS, Netware, OS/2, VMS and Windows build machinery.miod2014-04-131-2/+2
|
* resolve conflictsdjm2012-10-131-8/+65
|
* openssl-1.0.0e: resolve conflictsdjm2011-11-031-9/+5
|
* resolve conflicts, fix local changesdjm2010-10-011-244/+101
|
* plug a memory leak; found by parfait, ok djmderaadt2009-12-111-0/+2
|
* resolve conflictsdjm2009-01-091-1/+3
|
* resolve conflictsdjm2008-09-061-32/+1001
|
* resolve conflictsdjm2006-06-271-2/+2
|
* resolve conflictsdjm2005-04-291-0/+1
|
* merge 0.9.7dmarkus2004-04-081-0/+7
|
* merge 0.9.7b with local changes; crank majors for libssl/libcryptomarkus2003-05-121-3/+14
|
* add -elapsed to usage() for USE_TOD, toomarkus2002-09-161-1/+1
|
* merge with 0.9.7-beta1markus2002-09-051-1/+1
|
* Merge OpenSSL 0.9.7-stable-20020605,beck2002-06-071-1/+4
| | | | correctly autogenerate obj_mac.h
* OpenSSL 0.9.7 stable 2002 05 08 mergebeck2002-05-151-324/+797
|
* merge openssl 0.9.6b-enginebeck2001-08-011-2/+2
| | | | | Note that this is a maintenence release, API's appear *not* to have changed. As such, I have only increased the minor number on these libraries
* openssl-engine-0.9.6a mergebeck2001-06-221-1/+3
|
* openssl-engine-0.9.6 mergebeck2000-12-151-154/+395
|
* OpenSSL 0.9.5a mergebeck2000-04-151-0/+6
|