| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This moves them from .data to .data.rel.ro
ok deraadt@ inoguchi@
|
| |
|
| |
|
|
|
|
|
|
|
| |
No need to check for SSLv2/3 sessions when printing the tally mark.
Also do SSLv23_client_method -> TLS_client_method.
ok jsing@
|
|
|
|
|
|
|
|
|
|
| |
jsing@ notes that this is not a complete solution, as we don't
account for retries or partial writes, but that this is a step
in a right direction.
May want to revisit this later to provide a complete solution.
ok jsing@
|
|
|
|
|
|
|
|
| |
While here, we don't need the app_timer_* wrapper function, it only
obfuscates things, so delete it. Also while here, totalTime only needs
to be assigned once.
ok tb@
|
|
|
|
|
|
|
|
|
|
|
|
| |
We need to then remove the shadow i from the GET block. While there,
move retval's declaration to the beginning of the function.
As doConnection() now executes the body of the benchmark's test, rename
it to "run_test".
Shadow variable spotted by tb@.
ok tb@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move SSL_new/SSL_free up into benchmark() to restrict the responsibility
for the SSL object to a single scope. Make doConnection() return an int,
openssl-style. Some miscellaneous cleanup, too.
Discussed with tb, jsing, and jca. Basic idea from jsing, lots of patch
input from tb.
ok deraadt on an earlier version
ok tb jsing
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Move all of the benchmark code -- loop initialization, the loops, and
the report printing -- into a new function, benchmark(). Eliminates
lots of duplicate code.
Regressions to 1.20 caught by tb@ and inoguchi@. Tweaked by tb@.
ok tb@, jsing@
|
|
|
|
|
|
|
|
| |
Much more apt than the current operation names.
Names suggested by jca@ ages ago.
ok jca, jsing
|
| |
|
| |
|
|
|
|
|
|
| |
SSL_free will do this a second time.
ok jsing
|
|
|
|
|
|
|
|
|
| |
This extern variable appears not to be used.
And it is overridden by local variable in doConnection().
This causes MSVC warning C4459 "declaration of 'verify_error'
hides global declaration".
OK millert@
|
|
|
|
|
|
|
|
|
| |
Use more descriptive names, and make it clearer that real and user
timers work on different static storage. The end goal is to be able to
reuse those timer functions, instead of inlining other timer
implementations subject to clock jumps.
Discussed with Scott Cheloha
|
|
|
|
|
|
|
|
| |
will SIGABRT
Bug found by Scott Cheloha <scottcheloha at gmail.com>
OK deraadt@
|
| |
|
|
|
|
| |
prodding & ok jsing
|
|
|
|
|
| |
where that is long long.
ok beck guenther
|
|
|
|
| |
ok semarie@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
flag. Pointed out by jmc@'s commit to the openssl(1) man page.
|
| |
|
|
|
|
|
|
| |
's_time -verify 1' will now actually verify the peer certificate.
ok beck@
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
| |
ok miod@ bcook@ beck@
|
|
|
|
|
|
|
| |
value from SSL_CTX_set_cipher_list(). Also remove pointless getenv()
handling.
ok bcook@ doug@
|
| |
|
|
|
|
| |
ok doug@
|
|
|
|
|
|
|
|
|
|
| |
From OpenSSL commits:
6f91b017bbb7140f816721141ac156d1b828a6b3
75d0ebef2aef7a2c77b27575b8da898e22f3ccd5
a2b18e657ea1a932d125154f4e13ab2258796d90
ok miod@, jsing@
|
| |
|
|
|
|
| |
ok jsing@
|
|
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@
|