summaryrefslogtreecommitdiffstats
path: root/apps/s_client.c
AgeCommit message (Collapse)Author
2003-01-30Add the possibility to build without the ENGINE framework.Richard Levitte
PR: 287
2002-12-03EXIT() may mean return(). That's confusing, so let's have it really meanRichard Levitte
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)
2002-11-28Cleanse memory using the new OPENSSL_cleanse() function.Richard Levitte
I've covered all the memset()s I felt safe modifying, but may have missed some.
2002-11-15WinCE patchesRichard Levitte
2002-11-14Fix to build better with DJGPP.Richard Levitte
PR: 338 Here's the description, submitted by Gisle Vanem <giva@bgnett.no>: 1. sock_init() renamed to ssl_sock_init() in ./apps/s_socket.c due to name-clash with Watt-32. 2. rand() renamed to Rand() in ./crypto/bn/divtest.c due to name-clash with <stdlib.h> 3. Added calls to dbug_init()/sock_init() in some demo programs. 4. Changed cflags/lflags in configure. Watt-32 install root now taken from $WATT_ROOT.
2002-11-13Security fixes brought forward from 0.9.7.Ben Laurie
2002-07-16Set up the engine before doing anything random-related, since engine randomnessRichard Levitte
is only used for seeding and doing it in the wrong order will mean seeding is done before the engine randomness is hooked in. Notified by Frederic DONNAT <frederic.donnat@zencod.com>
2002-02-22Config code updates.Dr. Stephen Henson
CONF_modules_unload() now calls CONF_modules_finish() automatically. Default use of section openssl_conf moved to CONF_modules_load() Load config file in several openssl utilities. Most utilities now load modules from the config file, though in a few (such as version) this isn't done because it couldn't be used for anything. In the case of ca and req the config file used is the same as the utility itself: that is the -config command line option can be used to specify an alternative file.
2001-11-14Implement STARTTLS for certain protocols, currently only supporting SMTP.Richard Levitte
2001-10-20New functions SSL[_CTX]_set_msg_callback().Bodo Möller
New macros SSL[_CTX]_set_msg_callback_arg(). Message callback imlementation for SSL 3.0/TLS 1.0 (no SSL 2.0 yet). New '-msg' option for 'openssl s_client' and 'openssl s_server' that enable a message callback that displays all protocol messages. In ssl3_get_client_hello (ssl/s3_srvr.c), generate a fatal alert if client_version is smaller than the protocol version in use. Also change ssl23_get_client_hello (ssl/s23_srvr.c) to select TLS 1.0 if the client demanded SSL 3.0 but only TLS 1.0 is enabled; then the client will at least see that alert. Fix SSL[_CTX]_ctrl prototype (void * instead of char * for generic pointer). Add/update some OpenSSL copyright notices.
2001-10-16Flush buffers to prevent mixed output (Adam Back <adam@cypherspace.org>).Lutz Jänicke
2001-09-12Reduce the header dependencies on engine.h in apps/.Geoff Thorpe
2001-06-23Use apps_shutdown() in all applications, in case someone decides notRichard Levitte
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.
2001-06-18Provide an application-common setup function for engines and use itRichard Levitte
everywhere.
2001-05-09Allow various X509_STORE_CTX properties to beDr. Stephen Henson
inherited from X509_STORE. Add CRL checking options to other applications.
2001-02-20Get e_os2.h to get all the system definitions correctly.Richard Levitte
2001-02-20Include opensslconf.h or the like early to make sure system macros getRichard Levitte
correctly defined.
2001-02-20Use new-style system-id macros everywhere possible. I hope I haven'tRichard Levitte
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.
2001-02-19Make all configuration macros available for application by makingRichard Levitte
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.
2001-02-15Add "-rand" option to s_client and s_server.Lutz Jänicke
2001-02-09New Option SSL_OP_CIPHER_SERVER_PREFERENCE allows TLS/SSLv3 server to overrideLutz Jänicke
the clients choice; in SSLv2 the client uses the server's preferences.
2000-11-30First tentative impementation of Kerberos 5 cryptos and keys for SSL/TLS. ↵Richard Levitte
Implemented by Vern Staats <staatsvr@asc.hpc.mil>, further hacked and distributed by Jeffrey Altman <jaltnab@columbia.edu>
2000-10-26Merge the engine branch into the main trunk. All conflicts resolved.Richard Levitte
At the same time, add VMS support for Rijndael.
2000-06-01There have been a number of complaints from a number of sources that namesRichard Levitte
like Malloc, Realloc and especially Free conflict with already existing names on some operating systems or other packages. That is reason enough to change the names of the OpenSSL memory allocation macros to something that has a better chance of being unique, like prepending them with OPENSSL_. This change includes all the name changes needed throughout all C files.
2000-06-01Small fix to enable reading from stdin as well.Richard Levitte
Contributed by Yoichiro Okabe <okabe@wizsoft.co.jp>
2000-03-10Add the possibility (with -ign_eof) to ignore end of file on input butRichard Levitte
still not be quiet. Also make it clear that -quiet implicitely means -ign_eof as well.
2000-02-20Fix gcc warnings.Ulf Möller
2000-02-11Make gcc 2.95.2 happy again, even under ``-Wall -Wshadow -Wpointer-arith ↵Ralf S. Engelschall
-Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline''.
2000-02-04Rename SSLeay_add_all_algorithms() et al toDr. Stephen Henson
OpenSSL_add_all_algorithms(). Move these into separate files so they work properly.
2000-02-03ispell (and minor modifications)Ulf Möller
2000-02-03Add new -notext option to 'ca', -pubkey option to spkac.Dr. Stephen Henson
Remove some "WTF??" casts from applications. Fixes to keep VC++ happy and avoid warnings. Docs tidy.
2000-01-23Make s_server, s_client check cipher list return codes.Dr. Stephen Henson
Update docs.
2000-01-16Add missing #ifndefs that caused missing symbols when building libsslUlf Möller
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
2000-01-08Add -prexit command to s_client and patch some BIODr. Stephen Henson
functions so it doesn't crash. Document s_client.
1999-12-02Change the trust and purpose code so it doesn't need initDr. Stephen Henson
either and has a static and dynamic mix.
1999-11-29Remainder of SSL purpose and trust code: trust and purpose setting inDr. Stephen Henson
SSL_CTX and SSL, functions to set them and defaults if no values set.
1999-10-26Various randomness handling bugfixes and improvements --Bodo Möller
some utilities that should have used RANDFILE did not, and -rand handling was broken except in genrsa.
1999-09-20Fix to make s_client and s_server work under Windows. A bit of a hack butDr. Stephen Henson
an improvement on not working at all.
1999-08-09-crlf option.Bodo Möller
1999-08-08Comments.Bodo Möller
1999-08-07New option "-crlf" to s_client and s_server which tells them to convertBodo Möller
LFs into CRLFs when forwarding data from stdin to the TLS connection. This is necessary for properly talking HTTP. Because of the code freeze this change is by default disabled for now; without -DAPPS_CRLF, the code is exactly as before.
1999-07-28VMS updates.Ulf Möller
Submitted by: Richard Levitte <levitte@stacken.kth.se>
1999-06-04Support the EBCDIC character set and BS2000/OSD-POSIX (work in progress).Ulf Möller
Submitted by: Martin Kraemer <Martin.Kraemer@MchP.Siemens.De>
1999-06-04Avoid type conflict on Unix with DEC C.Ulf Möller
Pointed out by Sergio Rabellino <Rabellino@di.unito.it>
1999-05-17If we couldn't handle "-showcerts" (which happens with the currentBodo Möller
SSL2 implementation), show at least the server certificate.
1999-05-13VMS support bug fixes.Ulf Möller
1999-05-13VMS support.Ulf Möller
Submitted by: Richard Levitte <richard@levitte.org>
1999-04-27A new comment.Bodo Möller
Submitted by: Reviewed by: PR:
1999-04-27New Configure option no-<cipher> (rsa, idea, rc5, ...).Ulf Möller
1999-04-26Remove NOPROTO definitions and error code comments.Ulf Möller