OpenBSD CVS

CVS log for src/usr.bin/openssl/s_client.c


[BACK] Up to [local] / src / usr.bin / openssl

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.64 / (download) - annotate - [select for diffs], Fri Dec 29 12:15:49 2023 UTC (4 months, 2 weeks ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, HEAD
Changes since 1.63: +1 -2 lines
Diff to previous 1.63 (colored)

Garbage collect the last users of SSL_set_debug(3)

This undocumented, incomplete public function has never done anything
useful. It will be removed from libssl. Removing it from openssl(1)
clears the way for this.

ok jsing

Revision 1.63 / (download) - annotate - [select for diffs], Fri Dec 29 12:06:48 2023 UTC (4 months, 2 weeks ago) by tb
Branch: MAIN
Changes since 1.62: +3 -8 lines
Diff to previous 1.62 (colored)

s_client: pause hasn't worked in ages. Just ignore it

ok jsing

Revision 1.62 / (download) - annotate - [select for diffs], Mon Jul 3 08:03:56 2023 UTC (10 months, 2 weeks ago) by beck
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4
Changes since 1.61: +9 -1 lines
Diff to previous 1.61 (colored)

Bring back no_tls1 and no_tls1_1 as undocumented silently discarded opitons

While I'm here, change the no_ssl2 and no_ssl3 options to use
OPTION_DISCARD as well instead of continuing to set a no-op
option flag.

ok jsing@ tb@

Revision 1.61 / (download) - annotate - [select for diffs], Mon Jul 3 06:22:07 2023 UTC (10 months, 2 weeks ago) by beck
Branch: MAIN
Changes since 1.60: +4 -66 lines
Diff to previous 1.60 (colored)

Remove the tls1.0 and 1.1 related options from the openssl(1) toolkit

ok tb@

Revision 1.60 / (download) - annotate - [select for diffs], Mon Mar 6 14:32:06 2023 UTC (14 months, 1 week ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3
Changes since 1.59: +206 -206 lines
Diff to previous 1.59 (colored)

Rename struct ${app}_config to plain cfg

All the structs are static and we need to reach into them many times.
Having a shorter name is more concise and results in less visual clutter.
It also avoids many overlong lines and we will be able to get rid of some
unfortunate line wrapping down the road.

Discussed with jsing

Revision 1.59 / (download) - annotate - [select for diffs], Fri Nov 11 17:07:39 2022 UTC (18 months, 1 week ago) by joshua
Branch: MAIN
Changes since 1.58: +4 -6 lines
Diff to previous 1.58 (colored)

Remove the legacy interactive mode from openssl(1).

This removes the legacy interactive mode from openssl(1) since it is
rarely used, complicates the code, and has also been removed from
OpenSSL in version 3.x.x.

ok tb@ jsing@

Revision 1.58 / (download) - annotate - [select for diffs], Thu Feb 3 17:44:04 2022 UTC (2 years, 3 months ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored)

Use X509_*get0_pubkey() wherever possible to simplify and clean up
the code. Also add error checking where possible.

ok jsing

Revision 1.57 / (download) - annotate - [select for diffs], Sun Dec 26 14:46:06 2021 UTC (2 years, 4 months ago) by jsing
Branch: MAIN
Changes since 1.56: +34 -10 lines
Diff to previous 1.56 (colored)

Attempt to opportunistically use the host name for SNI in s_client.

ok beck@ inoguchi@ tb@

Revision 1.56 / (download) - annotate - [select for diffs], Mon Oct 25 11:47:39 2021 UTC (2 years, 6 months ago) by jca
Branch: MAIN
Changes since 1.55: +1 -4 lines
Diff to previous 1.55 (colored)

Garbage collect another unused variable.

Spotted by egcc and probably clang 13.  ok tb@

Revision 1.55 / (download) - annotate - [select for diffs], Fri Oct 22 09:44:58 2021 UTC (2 years, 6 months ago) by tb
Branch: MAIN
Changes since 1.54: +2 -4 lines
Diff to previous 1.54 (colored)

Garbage collect an unused variable.

Revision 1.54 / (download) - annotate - [select for diffs], Wed Mar 17 18:11:01 2021 UTC (3 years, 2 months ago) by jsing
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.53: +1 -7 lines
Diff to previous 1.53 (colored)

Read ahead is now enforced for DTLS - remove workarounds.

ok inoguchi@ tb@

Revision 1.53 / (download) - annotate - [select for diffs], Wed Mar 17 18:08:32 2021 UTC (3 years, 2 months ago) by jsing
Branch: MAIN
Changes since 1.52: +49 -12 lines
Diff to previous 1.52 (colored)

Add DTLSv1.2 support to openssl(1) s_client/s_server.

ok inoguchi@ tb@

Revision 1.52 / (download) - annotate - [select for diffs], Wed Oct 14 05:36:18 2020 UTC (3 years, 7 months ago) by tb
Branch: MAIN
Changes since 1.51: +2 -1 lines
Diff to previous 1.51 (colored)

Free peekaboo pbuf at end of s_client_main()

Otherwise each run of the s_client leaks 16k of memory. This hurts
in interactive mode.

ok inoguchi jsing

Revision 1.51 / (download) - annotate - [select for diffs], Fri Jul 10 12:25:57 2020 UTC (3 years, 10 months ago) by inoguchi
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.50: +27 -26 lines
Diff to previous 1.50 (colored)

Clean up s_client.c

- Remove space between '*' and pointer variable.
- Add function prototype.
- Move callback function to bottom.
- Move typedef struct to up.

Revision 1.50 / (download) - annotate - [select for diffs], Fri Jul 10 12:05:52 2020 UTC (3 years, 10 months ago) by inoguchi
Branch: MAIN
Changes since 1.49: +11 -15 lines
Diff to previous 1.49 (colored)

Change variable bio_c_out from global to local

ok tb@

Revision 1.49 / (download) - annotate - [select for diffs], Thu Jul 9 14:09:19 2020 UTC (3 years, 10 months ago) by inoguchi
Branch: MAIN
Changes since 1.48: +80 -46 lines
Diff to previous 1.48 (colored)

Wrap long lines and put space in front of label in s_client.c

Revision 1.48 / (download) - annotate - [select for diffs], Thu Jul 9 13:07:46 2020 UTC (3 years, 10 months ago) by inoguchi
Branch: MAIN
Changes since 1.47: +33 -33 lines
Diff to previous 1.47 (colored)

Remove c_ prefix from s_client_config member

Revision 1.47 / (download) - annotate - [select for diffs], Thu Jul 9 12:48:19 2020 UTC (3 years, 10 months ago) by inoguchi
Branch: MAIN
Changes since 1.46: +769 -449 lines
Diff to previous 1.46 (colored)

Convert openssl(1) s_client option handling

suggestions and ok beck@ jsing@ tb@

Revision 1.46 / (download) - annotate - [select for diffs], Sat May 23 12:52:54 2020 UTC (3 years, 11 months ago) by tb
Branch: MAIN
Changes since 1.45: +4 -1 lines
Diff to previous 1.45 (colored)

In ssl_lib.c revision 1.217, jsing enabled SSL_MODE_AUTO_RETRY by
default. To avoid hanging on a blocking read, we need to clear the
SSL_MODE_AUTO_RETRY flag in the s_client and the s_server.

ok beck inoguchi jsing

Revision 1.45 / (download) - annotate - [select for diffs], Fri May 22 16:11:23 2020 UTC (3 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.44: +4 -3 lines
Diff to previous 1.44 (colored)

sockaddr should be sockaddr_storage, otherwise "openssl s_client -6 -dtls1"
(gurn) copies getsockname() retrieves a truncated result and 14 bytes of
stack garbage get copied onwards.
ok tb

Revision 1.44 / (download) - annotate - [select for diffs], Sun Apr 26 01:59:27 2020 UTC (4 years ago) by inoguchi
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

s_client: fix use of possibly uninitialized values

Set initial value to variable 'p' and 'pending'.

Reported and fix requested from leonklingele by GitHub pull request.
https://github.com/libressl-portable/portable/issues/577
https://github.com/libressl-portable/openbsd/pull/114

ok bcook@ jsing@ tb@

Revision 1.43 / (download) - annotate - [select for diffs], Sun Apr 19 17:05:55 2020 UTC (4 years, 1 month ago) by jsing
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

Add -groups option to openssl(1) s_server.

This allows supported EC groups to be configured, which will also control
which TLSv1.3 key shares we'll accept. While here, deprecate the rather
useless -named_curve option, which is effectively the same as -groups with
a single group. Also stop setting a single default group of P-256 via
SSL_CTX_set_tmp_ecdh() - use the library defaults instead.

ok beck@ inoguchi@

Revision 1.42 / (download) - annotate - [select for diffs], Sun Feb 16 16:39:01 2020 UTC (4 years, 3 months ago) by jsing
Branch: MAIN
Changes since 1.41: +29 -17 lines
Diff to previous 1.41 (colored)

Add -tls1_3 and -notls1_3 options to openssl(1) s_client.

Also stop using version pinned methods, instead setting the min and max
protocol versions.

Requested by inoguchi@

ok inoguchi@ tb@

Revision 1.41 / (download) - annotate - [select for diffs], Thu Jan 23 03:35:54 2020 UTC (4 years, 3 months ago) by beck
Branch: MAIN
Changes since 1.40: +9 -2 lines
Diff to previous 1.40 (colored)

Make -peekaboo mode also use SSL_pending after peeking, to ensure
SSL_pending implementation is correct.

annoying jsing@

Revision 1.40 / (download) - annotate - [select for diffs], Wed Jan 22 06:40:42 2020 UTC (4 years, 3 months ago) by jsing
Branch: MAIN
Changes since 1.39: +6 -35 lines
Diff to previous 1.39 (colored)

Simplify the peekaboo code.

ok beck@

Revision 1.39 / (download) - annotate - [select for diffs], Wed Jan 22 04:51:48 2020 UTC (4 years, 3 months ago) by beck
Branch: MAIN
Changes since 1.38: +66 -4 lines
Diff to previous 1.38 (colored)

Add -peekaboo option to s_client, to test SSL_peek
peeks data before reading, compares to subsequent read.

ok jsing@

Revision 1.38 / (download) - annotate - [select for diffs], Fri Jun 28 13:35:02 2019 UTC (4 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

When system calls indicate an error they return -1, not some arbitrary
value < 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Nov 14 06:24:21 2018 UTC (5 years, 6 months ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

didn't found -> didn't find.

From Edgar Pettijohn III

Revision 1.36 / (download) - annotate - [select for diffs], Sun Feb 11 20:03:10 2018 UTC (6 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

typo in output string; from edgar pettijohn

Revision 1.35 / (download) - annotate - [select for diffs], Wed Feb 7 05:47:55 2018 UTC (6 years, 3 months ago) by jsing
Branch: MAIN
Changes since 1.34: +4 -4 lines
Diff to previous 1.34 (colored)

Indent labels with a single space so that diff prototypes are more useful.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Feb 7 04:57:06 2018 UTC (6 years, 3 months ago) by jsing
Branch: MAIN
Changes since 1.33: +6 -11 lines
Diff to previous 1.33 (colored)

Remove guards around *_free() calls since these functions handle NULL.

Revision 1.33 / (download) - annotate - [select for diffs], Sat Aug 12 21:04:33 2017 UTC (6 years, 9 months ago) by jsing
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.32: +4 -57 lines
Diff to previous 1.32 (colored)

Remove NPN support - the -nextprotoneg options now become no-ops.

ok bcook@ beck@ doug@

Revision 1.32 / (download) - annotate - [select for diffs], Tue Apr 18 02:15:50 2017 UTC (7 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.31: +4 -13 lines
Diff to previous 1.31 (colored)

use freezero() instead of 4-line conditional explicit_bzero + free

Revision 1.31 / (download) - annotate - [select for diffs], Tue Jan 24 09:07:40 2017 UTC (7 years, 3 months ago) by jsing
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.30: +17 -7 lines
Diff to previous 1.30 (colored)

Add a -groups option to openssl s_client, which allows supported EC curves
to be specified as a colon separated list.

ok beck@

Revision 1.30 / (download) - annotate - [select for diffs], Fri Jan 20 08:57:12 2017 UTC (7 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

rearrange pledge promises into the canonical order; easier to eyeball

Revision 1.29 / (download) - annotate - [select for diffs], Fri Dec 30 17:25:48 2016 UTC (7 years, 4 months ago) by jsing
Branch: MAIN
Changes since 1.28: +4 -1 lines
Diff to previous 1.28 (colored)

Display details of the server ephemeral key, based on OpenSSL.

ok doug@

Revision 1.28 / (download) - annotate - [select for diffs], Tue Jun 21 03:56:43 2016 UTC (7 years, 10 months ago) by bcook
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.27: +7 -9 lines
Diff to previous 1.27 (colored)

Fix a bug loading the default certificate path locations.

The files would only be loaded if the CAfile or CApath locations were
succesfully loaded first. Original patch from OpenSSL:

https://github.com/openssl/openssl/commit/fe9b85c3cb79f1e29e61f01de105b34ce8177190

ok beck@

Revision 1.27 / (download) - annotate - [select for diffs], Tue Dec 1 12:01:56 2015 UTC (8 years, 5 months ago) by jca
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Undo previous, pledge("dns") was already present.  The problem was in s_server.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Dec 1 01:24:47 2015 UTC (8 years, 5 months ago) by beck
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

pledge dns so openssl can use dns.. noticed and fix by todd@
ok jcs@ deraadt@ theo@

Revision 1.25 / (download) - annotate - [select for diffs], Sat Nov 21 16:04:20 2015 UTC (8 years, 5 months ago) by jca
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

In pledge(), put "dns" right after "inet".

Revision 1.24 / (download) - annotate - [select for diffs], Sat Nov 21 16:03:06 2015 UTC (8 years, 5 months ago) by jca
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

Unbreak s_client, which should be allowed by pledge(2) to do DNS requests.

From todd@

Revision 1.23 / (download) - annotate - [select for diffs], Sat Oct 17 15:00:11 2015 UTC (8 years, 7 months ago) by doug
Branch: MAIN
Changes since 1.22: +4 -2 lines
Diff to previous 1.22 (colored)

Exit if a pledge call fails in non-interactive mode.

ok semarie@

Revision 1.22 / (download) - annotate - [select for diffs], Sat Oct 17 07:51:10 2015 UTC (8 years, 7 months ago) by semarie
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

add "tty" for several subcommands of openssl

it is needed in order to let libssl UI_* function plays with echo on/off when
asking for password on terminal.

passwd subcommand needs additionnal "wpath cpath" in order to let it calls
fopen("/dev/tty", "w") (O_WRONLY with O_CREAT | O_TRUNC).

problem reported by several
with and ok doug@

Revision 1.21 / (download) - annotate - [select for diffs], Sat Oct 10 22:28:51 2015 UTC (8 years, 7 months ago) by doug
Branch: MAIN
Changes since 1.20: +6 -1 lines
Diff to previous 1.20 (colored)

Initial support for pledges in openssl(1) commands.

openssl(1) has two mechanisms for operating: either a single execution
of one command (looking at argv[0] or argv[1]) or as an interactive
session than may execute any number of commands.

We already have a top level pledge that should cover all commands
and that's what interactive mode must continue using.  However, we can
tighten up the pledges when only executing one command.

This is an initial stab at support and may contain regressions.  Most
commands only need "stdio rpath wpath cpath".  The pledges could be
further restricted by evaluating the situation after parsing options.

deraadt@ and beck@ are roughly fine with this approach.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Oct 6 03:29:49 2015 UTC (8 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.19: +1 -2 lines
Diff to previous 1.19 (colored)

these do not use ioctl.h

Revision 1.19 / (download) - annotate - [select for diffs], Fri Sep 11 14:30:23 2015 UTC (8 years, 8 months ago) by bcook
Branch: MAIN
Changes since 1.18: +3 -46 lines
Diff to previous 1.18 (colored)

Remove engine command and parameters from openssl(1).

We do not have any builtin or dynamic engines, meaning openssl(1) has
no way to use the engine command or parameters at all.

ok jsing@

Revision 1.18 / (download) - annotate - [select for diffs], Thu Sep 10 16:01:06 2015 UTC (8 years, 8 months ago) by jsing
Branch: MAIN
Changes since 1.17: +4 -4 lines
Diff to previous 1.17 (colored)

Correct spelling of OPENSSL_cleanse.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Sep 10 06:36:45 2015 UTC (8 years, 8 months ago) by bcook
Branch: MAIN
Changes since 1.16: +1 -2 lines
Diff to previous 1.16 (colored)

Fix shadowed verify_error in s_server by removing the unused global.

's_time -verify 1' will now actually verify the peer certificate.

ok beck@

Revision 1.16 / (download) - annotate - [select for diffs], Sat Aug 22 16:36:05 2015 UTC (8 years, 8 months ago) by jsing
Branch: MAIN
Changes since 1.15: +1 -3 lines
Diff to previous 1.15 (colored)

Remove all duplicate prototypes for *_main functions (these are already
provided by progs.h). Also, move the FUNCTION type (and flags) into
openssl.c since that is the only place of use. Lastly, remove pointless
'extern' from the prototypes and use char **argv instead of char *argv[]
(the former is used elsewhere).

ok deraadt@ doug@

Revision 1.15 / (download) - annotate - [select for diffs], Tue Aug 11 05:01:03 2015 UTC (8 years, 9 months ago) by landry
Branch: MAIN
Changes since 1.14: +18 -5 lines
Diff to previous 1.14 (colored)

Improve openssl s_client -starttls xmpp support.

From https://rt.openssl.org/Ticket/Display.html?id=2860&user=guest&pass=guest
- add a -xmpphost option to specify the xmpp virtual host
- fix an infinite loop when the vhost isnt what the server expects
- fix communication with openfire & prosody servers

with tweaks & ok bcook@ doug@ manpage bits jmc@

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jul 17 16:07:44 2015 UTC (8 years, 10 months ago) by doug
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.13: +1 -4 lines
Diff to previous 1.13 (colored)

Remove SSLv3 support from openssl(1) s_client.

ok miod@ bcook@ beck@

Revision 1.13 / (download) - annotate - [select for diffs], Tue Apr 14 12:56:36 2015 UTC (9 years, 1 month ago) by jsing
Branch: MAIN
Changes since 1.12: +1 -5 lines
Diff to previous 1.12 (colored)

Move verify externs into the header file.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jan 13 10:48:24 2015 UTC (9 years, 4 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.11: +24 -4 lines
Diff to previous 1.11 (colored)

Add the possibility to use the openssl s_client tool with an http
proxy.  Implement the -proxy feature in the same hackish way as
-starttls.
OK jsing@

Revision 1.11 / (download) - annotate - [select for diffs], Sun Dec 14 14:42:06 2014 UTC (9 years, 5 months ago) by jsing
Branch: MAIN
Changes since 1.10: +1 -17 lines
Diff to previous 1.10 (colored)

unifdef OPENSSL_NO_NEXTPROTONEG

Revision 1.10 / (download) - annotate - [select for diffs], Wed Dec 10 15:24:01 2014 UTC (9 years, 5 months ago) by jsing
Branch: MAIN
Changes since 1.9: +30 -2 lines
Diff to previous 1.9 (colored)

Add ALPN support to openssl(1).

Based on OpenSSL.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Dec 2 19:44:49 2014 UTC (9 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.8: +41 -26 lines
Diff to previous 1.8 (colored)

convert select() to poll().  This is one of the most complicated
conversions in the tree, because the original code is very rotten and
fragile.  Please test and report any failures.
Assistance from millert, bcook, and jsing.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Nov 18 20:54:28 2014 UTC (9 years, 6 months ago) by krw
Branch: MAIN
Changes since 1.7: +1 -2 lines
Diff to previous 1.7 (colored)

Nuke more obvious #include duplications.

ok deraadt@ millert@ tedu@

Revision 1.7 / (download) - annotate - [select for diffs], Fri Nov 7 14:16:48 2014 UTC (9 years, 6 months ago) by jsing
Branch: MAIN
Changes since 1.6: +5 -5 lines
Diff to previous 1.6 (colored)

More OPENSSL_NO_TLSEXT clean up.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Nov 6 14:50:12 2014 UTC (9 years, 6 months ago) by jsing
Branch: MAIN
Changes since 1.5: +1 -25 lines
Diff to previous 1.5 (colored)

TLS is pretty boring without TLS extensions... unifdef OPENSSL_NO_TLSEXT,
which was already done for libssl some time back.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Oct 22 13:51:31 2014 UTC (9 years, 6 months ago) by jsing
Branch: MAIN
Changes since 1.4: +1 -2 lines
Diff to previous 1.4 (colored)

None of these need <openssl/rand.h>

Revision 1.4 / (download) - annotate - [select for diffs], Mon Oct 20 01:58:10 2014 UTC (9 years, 7 months ago) by bcook
Branch: MAIN
Changes since 1.3: +1 -3 lines
Diff to previous 1.3 (colored)

s_client: don't call shutdown on a non-existent socket descriptor.

from Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
ok beck@, deraadt@

Revision 1.3 / (download) - annotate - [select for diffs], Mon Oct 13 02:39:09 2014 UTC (9 years, 7 months ago) by bcook
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

Use O_NONBLOCK over FIONBIO.

Prefer this because it is the POSIX standard and has consistent behavior
across platforms.

Use BIO_socket_nbio consistently across the tree.

from Jonas 'Sortie' Termansen, ok deraadt@

Revision 1.2 / (download) - annotate - [select for diffs], Mon Sep 1 20:54:37 2014 UTC (9 years, 8 months ago) by doug
Branch: MAIN
Changes since 1.1: +1 -3 lines
Diff to previous 1.1 (colored)

Enable -Wshadow in openssl(1) and fix a few shadow warnings.

ok jsing@

Revision 1.1 / (download) - annotate - [select for diffs], Tue Aug 26 17:47:25 2014 UTC (9 years, 8 months ago) by jsing
Branch: MAIN

Move openssl(1) from /usr/sbin/openssl to /usr/bin/openssl, since it is not
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@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.