| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
These are copied from the existing [[:<:]] and [[:>:]] tests.
|
| |
|
|
|
|
|
| |
To avoid making tests machine dependent, only test values inside 32bit
LONG_{MIN,MAX} and outside 64bit LONG_{MIN,MAX}, but none in between.
While here, cover 32bit edge cases, negative values, and overflows.
ok jsing@
|
| | |
|
| | |
|
| |
|
|
| |
this causes errors with stricter C compilers
|
| | |
|
| |
|
|
| |
ok @deraadt
|
| |
|
|
|
|
| |
being-standardized <endian.h>
ok deraadt@ millert@ beck@
|
| |
|
|
|
|
| |
Also correct some format strings.
From Doug Hogan (doug (at) acyclic.org)
|
| |
|
|
|
|
| |
the errno of an intervening cleanup operation like close/unlink/etc.
Diff from Doug Hogan (doug (at) acyclic.org)
|
| | |
|
| | |
|
| |
|
|
|
| |
(tlsext_tick_lifetime_hint > 0) test also passes on 32-bit platforms
(tlsext_tick_lifetime_hint is a long).
|
| | |
|
| | |
|
| |
|
|
|
| |
OPENSSL_NO_X509_VERIFY. We're not going to build with these and the same
removal has already been done for libssl.
|
| |
|
|
| |
RT.
|
| |
|
|
| |
OpenSSL trunk
|
| | |
|
| |
|
|
| |
ok beck@
|
| |
|
|
| |
Noticed testing with clang.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Solaris and OS X clobber the signal stack when returning to the main
stack, which caused the original testing strategy (inspecting the
signal stack once we're back on the main stack) to fail.
To be compatible with this behavior, the regress test now inspects the
signal stack space while we're still executing on it. This is a bit
iffy because we might clobber it ourselves while inspecting it, but we
as long as its not completely clobbered we should be okay.
thx bcook for the Solaris test account
|
| | |
|
| |
|
|
| |
run on altstack.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Rename _waitpid() to safewaitpid() to avoid POSIX reserved identifier
namespace.
KNF nit: return value expressions should be surrounded by parentheses,
per style(9).
Ensure SIGCHLD is set to SIG_DFL, not SIG_IGN. POSIX allows (and
requires under XSI) that terminated child processes not leave zombies
if SIGCHLD is set to SIG_IGN, and it also allows execve() to leave
SIGCHLD set to SIG_IGN.
|
| |
|
|
|
|
|
| |
OS X's sigaltstack() fails with ENOMEM if ss_size < MINSIGSTKSZ even
if SS_DISABLE is specified in ss_flags. Rather than add code to try
to cope with this stupidity, just don't bother restoring the original
signal stack.
|
| |
|
|
| |
ok jsing@
|
| |
|
|
|
|
|
|
| |
OS X fails to restore the old signal stack because the signal stack is
not enabled by default. This causes sigaltstack(2) to fail with ENOMEM
as ss_size is 0, < MINSIGSTCKSZ.
ok jsing@
|
| |
|
|
|
|
| |
This avoids compiler warnings for always true/false conditionals and makes
the code readable. Also avoid pulling in modes_lcl.h, which should not be
used outside the library.
|
| |
|
|
| |
ok beck@ jsing@
|
| |
|
|
| |
ok jsing@
|
| |
|
|
| |
ok miod@
|
| |
|
|
| |
ok beck@ jsing@
|
| | |
|
| |
|
|
| |
This currently fails when signing/verifying with a detached signature.
|
| |
|
|
|
|
|
| |
single-shot CRYPTO_chacha_20() interface (the ChaCha interface was already
tested via the EVP regress, but not extensively). The additional ChaCha
tests include single-shot writes, along with partial/single-byte writes
that currently fail due to a bug in the underlying implementation.
|
| | |
|
| |
|
|
|
| |
BIO_get_port() and fails since the current code believes that "-1" is a
valid port.
|
| | |
|
| | |
|
| |
|
|
| |
ok miod@
|
| |
|
|
|
| |
( https://github.com/joyent/node/issues/7704 ), about to be fixed in
libcrypto.
|
| |
|
|
| |
it getting siblings.
|
| |
|
|
|
|
|
|
|
|
|
| |
The extra argument doesn't hurt genuine atexit handlers and this fixes a
bug where we didn't provide the argument (effectively passing garbage) for
functions registered with __cxa_atexit in the main executable.
Pointed out by Dmitriy Ivanov <dimitry@google.com> and Elliott Hughes
<enh@google.com>.
ok matthew@
|
| |
|
|
| |
correctly in fork children.
|
| |
|
|
|
|
|
|
| |
7 years ago and never made it into an RFC. That code wasn't compiled in
anyway unless one would define the actual on-the-wire extension id bytes;
crank libssl major.
With help and enlightenment from Brendan MacDonell.
|
| |
|
|
| |
ok deraadt, jmc, tedu
|
| |
|
|
|
| |
timingsafe_memcmp tests are disabled for now, pending its addition to
libc.
|
| | |
|
| |
|
|
| |
encouraged by deraadt and miod
|