summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/apps/s_time.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move openssl(1) from /usr/sbin/openssl to /usr/bin/openssl, since it is notjsing2014-08-261-587/+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@
* Include <sys/select.h> to get selectbcook2014-08-241-1/+2
| | | | | | | | | These files currently depends on the wrapper <stdlib.h> file indirectly including a header that provides select(). from Jonas 'Sortie' Termansen ok deraadt@ tedu@
* whitespacederaadt2014-07-141-7/+7
|
* In openssl_startup(), call SSL_library_init() and SSL_load_error_strings().jsing2014-07-121-4/+1
| | | | | | | | This allows us to remove the ERR_load_crypto_strings() call, along with the various SSL_load_error_strings() and OpenSSL_add_ssl_algorithms() calls scattered around the place. ok beck@
* Use strtonum() instead of atoi(), and then impose what are we thinkderaadt2014-06-281-3/+10
| | | | | | 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
|
* 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@
* Group and sort includes.jsing2014-05-181-6/+8
| | | | | | | | 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-3/+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@
* During the great e_os.h nukathon we stopped pulling in <sys/filio.h> viajsing2014-05-051-8/+0
| | | | | | | | | the ifdef maze, meaning that FIONBIO was no longer defined. This removes non-blocking I/O support from s_{client,server,time}. Remove all FIONBIO ifdefs and import <sys/ioctl.h>, renabling -nbio. ok miod@
* remove crazy #undefs; ok jsingderaadt2014-05-021-2/+0
|
* 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@
* Nuke the last of the windows related defines from the openssl apps.jsing2014-04-221-25/+0
| | | | ok deraadt@
* remove the openssl_fdset wrapper, and a variety of VMS'ism's likederaadt2014-04-191-9/+2
| | | | | crazy (void *) casts all over the place ok beck jsing
* truncation check some snprintf calls (over-cautiously in case)deraadt2014-04-191-3/+18
| | | | ok jsing beck
* We'll interpret a (void) cast on snprintf() to mean it's been verified thatguenther2014-04-191-3/+3
| | | | | | truncation is either desirable, not an issue, or is detected and handled later ok deraadt@
* Remove MAIN and PROG defines now that we do not compile non-monolithic.jsing2014-04-181-4/+2
| | | | ok tedu@
* KaboomNFtedu2014-04-181-279/+280
|
* 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
* 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
* SSLv3_client_method() doesn't support TLSv1.*; use SSLv23_client_method()guenther2014-04-161-2/+2
| | | | | | | | the for anything where version negotiation would be useful. Also, constipate a couple formatting strings to make compilers and linkers happier. ok tedu@
* first round of unifdef hammeringtedu2014-04-161-8/+0
|
* remove ssl2 support even more completely.tedu2014-04-151-12/+0
| | | | | | in the process, always include ssl3 and tls1, we don't need config options for them. when the time comes to expire ssl3, it will be with an ax. checked by miod
* Part 1 of eliminating BIO_snprintf(). This fixes mechanical conversionsbeck2014-04-151-3/+3
| | | | | where the return value is ignored changing to (void) snprintf. ok deraadt@
* Remove various horrible socket syscall wrappers, especially SHUTDOWN*deraadt2014-04-131-6/+6
| | | | | | which did shutdown + close, all nasty and surprising. Use the raw syscalls that everyone knows the behaviour of. ok beck matthew
* remove more cases of MS_STATIC, MS_CALLBACK, and MS_FAR. Did youderaadt2014-04-131-1/+1
| | | | | | | 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
* resolve conflicts, fix local changesdjm2010-10-011-106/+3
|
* resolve conflictsdjm2008-09-061-2/+16
|
* merge 0.9.7dmarkus2004-04-081-3/+3
|
* merge 0.9.7b with local changes; crank majors for libssl/libcryptomarkus2003-05-121-7/+14
|
* more strcpy & sprintf murder; ho okderaadt2003-04-041-3/+3
|
* merge openssl-0.9.7-beta3, tested on vax by miod@markus2002-09-101-5/+1
|
* OpenSSL 0.9.7 stable 2002 05 08 mergebeck2002-05-151-19/+48
|
* OpenSSL 0.9.5 mergebeck2000-03-191-18/+13
| | | | | | *warning* this bumps shared lib minors for libssl and libcrypto from 2.1 to 2.2 if you are using the ssl26 packages for ssh and other things to work you will need to get new ones (see ~beck/libsslsnap/<arch>) on cvs or ~beck/src-patent.tar.gz on cvs
* OpenSSL 0.9.4 mergebeck1999-09-291-47/+38
|
* Import of SSLeay-0.9.0b with RSA and IDEA stubbed + OpenBSD buildryker1998-10-051-0/+703
functionality for shared libs. Note that routines such as sslv2_init and friends that use RSA will not work due to lack of RSA in this library. Needs documentation and help from ports for easy upgrade to full functionality where legally possible.