summaryrefslogtreecommitdiffstats
path: root/apps/s_time.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* free NULL cleanup 10Rich Salz2015-04-111-6/+3
| | | | | | | | | | Avoid checking for NULL before calling free functions. This gets ssl.*free: ssl_sess_cert_free ssl_free ssl_excert_free ssl_cert_free SSL_free SSL_SRP_CTX_free SSL_SESSION_free SSL_CTX_free SSL_CTX_SRP_CTX_free SSL_CONF_CTX_free Reviewed-by: Kurt Roeckx <kurt@openssl.org>
* apps return value checksMatt Caswell2015-03-231-4/+8
| | | | | | | Ensure that all libssl functions called from within the apps have their return values checked where appropriate. Reviewed-by: Richard Levitte <levitte@openssl.org>
* Fix seg fault in s_timeMatt Caswell2015-03-171-1/+6
| | | | | | | Passing a negative value for the "-time" option to s_time results in a seg fault. This commit fixes it so that time has to be greater than 0. Reviewed-by: Andy Polyakov <appro@openssl.org>
* Dead code clean: #if 0 removal in appsRich Salz2015-01-301-16/+0
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* ifdef cleanup part 3: OPENSSL_SYSNAMERich Salz2015-01-231-1/+1
| | | | | | | | Rename OPENSSL_SYSNAME_xxx to OPENSSL_SYS_xxx Remove MS_STATIC; it's a relic from platforms <32 bits. Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org>
* Run util/openssl-format-source -v -c .Matt Caswell2015-01-221-385/+394
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Fix source where indent will not be able to copeMatt Caswell2015-01-221-1/+2
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Further comment changes for reformat (master)Matt Caswell2015-01-221-1/+1
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* RT3548: Remove unsupported platformsRich Salz2015-01-121-3/+0
| | | | | | | 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>
* Remove SSLv2 supportKurt Roeckx2014-12-041-9/+0
| | | | | | The only support for SSLv2 left is receiving a SSLv2 compatible client hello. Reviewed-by: Richard Levitte <levitte@openssl.org>
* Use the SSLv23 method by defaultKurt Roeckx2014-12-021-6/+0
| | | | | | If SSLv2 and SSLv3 are both disabled we still support SSL/TLS. Reviewed-by: Richard Levitte <levitte@openssl.org>
* If we include winsock2.h then FD_SET wants an unsigned type for an fd.Dr. Stephen Henson2006-04-171-1/+1
|
* Collect timing procedures in apps/apps.c. It's a bit cruel patch, as itAndy Polyakov2005-11-061-104/+1
| | | | | temporarily[!] removes support for couple of esoteric platforms [well, Netware, vxWorks and VMS].
* Let the TLSv1_method() etc. functions return a const SSL_METHODNils Larsch2005-08-141-1/+1
| | | | | pointer and make the SSL_METHOD parameter in SSL_CTX_new, SSL_CTX_set_ssl_version and SSL_set_ssl_method const.
* Use BUF_strlcpy() instead of strcpy().Richard Levitte2003-12-271-3/+3
| | | | | | | Use BUF_strlcat() instead of strcat(). Use BIO_snprintf() instead of sprintf(). In some cases, keep better track of buffer lengths. This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
* Netware-specific changes,Richard Levitte2003-11-281-2/+16
| | | | | | PR: 780 Submitted by: Verdon Walker <VWalker@novell.com> Reviewed by: Richard Levitte
* EXIT() may mean return(). That's confusing, so let's have it really meanRichard Levitte2002-12-031-1/+1
| | | | | | exit() in whatever way works for the intended platform, and define OPENSSL_EXIT() to have the old meaning (the name is of course because it's only used in the openssl program)
* WinCE patchesRichard Levitte2002-11-151-6/+6
|
* Security fixes brought forward from 0.9.7.Ben Laurie2002-11-131-0/+7
|
* <sys/select.h> is included for AIX, when USE_SOCKETS is defined.Lutz Jänicke2002-06-201-4/+0
| | | | | | Submitted by: Bernhard Simon <bs@bsws.zid.tuwien.ac.at> Reviewed by: PR:
* This apparently fixes compilation on OSX that was failing in 0.9.7 betas.Geoff Thorpe2002-06-201-1/+1
| | | | Submitted by: Pieter Bowman <bowman@math.utah.edu>
* Add the configuration target VxWorks.Richard Levitte2002-02-141-2/+20
|
* DOS and Windows do not like unistd.hRichard Levitte2001-11-051-0/+2
|
* Change HZ in speed to rely on sysconf() if the clock tick is availableRichard Levitte2001-09-281-7/+16
| | | | that way. Synchronise s_time with these changes.
* Use apps_shutdown() in all applications, in case someone decides notRichard Levitte2001-06-231-1/+1
| | | | | | | to go the monolith way (does anyone do that these days?). NOTE: a few applications are missing in this commit. I've a few more changes in them that I haven't tested yet.
* Code for better build under Darwin (MacOS X).Richard Levitte2001-03-071-1/+1
| | | | Submitted by Brad Dominy <jdominy@darwinuser.org>
* Use new-style system-id macros everywhere possible. I hope I haven'tRichard Levitte2001-02-201-4/+4
| | | | | | | 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.
* Make all configuration macros available for application by makingRichard Levitte2001-02-191-6/+6
| | | | | | | | | | | | sure they are available in opensslconf.h, by giving them names starting with "OPENSSL_" to avoid conflicts with other packages and by making sure e_os2.h will cover all platform-specific cases together with opensslconf.h. I've checked fairly well that nothing breaks with this (apart from external software that will adapt if they have used something like NO_KRB5), but I can't guarantee it completely, so a review of this change would be a good thing.
* Make gcc 2.95.2 happy again, even under ``-Wall -Wshadow -Wpointer-arith ↵Ralf S. Engelschall2000-02-111-0/+2
| | | | | | -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline''.
* Rename SSLeay_add_all_algorithms() et al toDr. Stephen Henson2000-02-041-1/+1
| | | | | OpenSSL_add_all_algorithms(). Move these into separate files so they work properly.
* ispell (and minor modifications)Ulf Möller2000-02-041-3/+3
|
* Add new -notext option to 'ca', -pubkey option to spkac.Dr. Stephen Henson2000-02-031-1/+1
| | | | | | | | Remove some "WTF??" casts from applications. Fixes to keep VC++ happy and avoid warnings. Docs tidy.
* Add missing #ifndefs that caused missing symbols when building libsslUlf Möller2000-01-161-4/+0
| | | | | | | | as a shared library without RSA. Use #ifndef NO_SSL2 instead of NO_RSA in ssl/s2*.c. Submitted by: Kris Kennaway <kris@hub.freebsd.org> Modified by Ulf Möller
* some more patches for avoiding problems with non-automatic variablesBodo Möller1999-09-081-9/+6
|
* Remove redundant ifdef.Ulf Möller1999-05-131-4/+0
|
* VMS support bug fixes.Ulf Möller1999-05-131-1/+1
|
* VMS support.Ulf Möller1999-05-131-12/+18
| | | | Submitted by: Richard Levitte <richard@levitte.org>
* New Configure option no-<cipher> (rsa, idea, rc5, ...).Ulf Möller1999-04-271-0/+4
|
* Remove NOPROTO definitions and error code comments.Ulf Möller1999-04-261-8/+0
|
* Change #include filenames from <foo.h> to <openssl.h>.Bodo Möller1999-04-241-4/+4
| | | | | | Submitted by: Reviewed by: PR:
* Change functions to ANSI C.Ulf Möller1999-04-191-14/+6
|
* Fix some more typosMark J. Cox1999-01-311-2/+2
| | | | | | Submitted by: Reviewed by: PR:
* Fix names in usage page of s_time, s_server and s_clientRalf S. Engelschall1999-01-281-2/+2
|
* Some more changes for renaming the binary from ssleay to openssl.Paul C. Sutton1999-01-021-1/+1
| | | | I wonder what eay.c is?
* Import of old SSLeay release: SSLeay 0.9.1b (unreleased)Ralf S. Engelschall1998-12-211-1/+2
|
* Import of old SSLeay release: SSLeay 0.9.0bRalf S. Engelschall1998-12-211-16/+71
|
* Import of old SSLeay release: SSLeay 0.8.1bRalf S. Engelschall1998-12-211-0/+648