summaryrefslogtreecommitdiff
path: root/regress/lib
AgeCommit message (Collapse)Author
2014-08-16replace sprintf/strdup with asprintf in engine testbcook
2014-08-16use C rather than C++ array initialization syntaxbcook
this causes errors with stricter C compilers
2014-08-10guenther wants a copyrightTed Unangst
2014-08-10AF_IMPLINK and AF_BLUETOOTH are gone, but add printing of SOCK_SEQPACKETPhilip Guenther
2014-08-10Only need <stdint.h> and not all of <inttypes.h> herePhilip Guenther
2014-08-10Only need <stdint.h> and not all of <inttypes.h> herePhilip Guenther
2014-07-28remove non-portable __progname extern from arc4random unit test.bcook
ok @deraadt
2014-07-21Switch from <sys/endian.h> or <machine/endian.h> to the new,Philip Guenther
being-standardized <endian.h> ok deraadt@ millert@ beck@
2014-07-20Fix ordering breakage, moving the fclose() test last again.Philip Guenther
Also correct some format strings. From Doug Hogan (doug (at) acyclic.org)
2014-07-20Make sure the correct errno is reported by warn* or err* and notPhilip Guenther
the errno of an intervening cleanup operation like close/unlink/etc. Diff from Doug Hogan (doug (at) acyclic.org)
2014-07-20Delete unused variables found by -WallPhilip Guenther
2014-07-20Add missing include. Tickled by Doug Hogan (doug (at) acyclic.org)Philip Guenther
2014-07-16zap trailing newlines; "go for it" deraadtOkan Demirmen
2014-07-16Fix tlsext_tick_lifetime_hint value in test #2 to make sure theMiod Vallat
(tlsext_tick_lifetime_hint > 0) test also passes on 32-bit platforms (tlsext_tick_lifetime_hint is a long).
2014-07-14Hook in libressl to regress.Joel Sing
2014-07-14Sort SUBDIRs.Joel Sing
2014-07-14Update regress test to work with ressl API changes.Joel Sing
2014-07-13Add a regress test for the ASN1 handling of SSL session tickets.Joel Sing
2014-07-12More KNF.Joel Sing
2014-07-12Remove #ifndefs for OPENSSL_NO_DH, OPENSSL_NO_ECDH andJoel Sing
OPENSSL_NO_X509_VERIFY. We're not going to build with these and the same removal has already been done for libssl.
2014-07-12Add an initial regress test for libressl, which calls ressl from Go andJoel Sing
makes it talk to a Go TLS server.
2014-07-11Another regress test for OpenSSL PR #3397 (Joyent 7704), from agl via OpenSSLMiod Vallat
RT.
2014-07-11Regression test for PKCS5_PBKDF2_HMAC(), written by Christian Heimes ; fromMiod Vallat
OpenSSL trunk
2014-07-11Remove PSK from the ssl regress.Joel Sing
2014-07-11replace u_int32_t with uint32_tbcook
ok beck@
2014-07-11Fix dumb copy/paste mistake.Matthew Dempsky
Noticed testing with clang.
2014-07-11Fix explicit_bzero regress for Solaris and OS X compatibilityMatthew Dempsky
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
2014-07-10Uncompress ssltest.Joel Sing
2014-07-09Add some extra sanity checks to make sure the test functions actuallyMatthew Dempsky
run on altstack.
2014-07-09Minor cleanupsMatthew Dempsky
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.
2014-07-09Better workaround for OS X sigaltstack() bugMatthew Dempsky
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.
2014-07-09check for EINTR when calling waitpid.bcook
ok jsing@
2014-07-09check if we were previously on a signal stack before restoring.bcook
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@
2014-07-09Rewrite gcm128test as a table-driven regress instead of using defines.Joel Sing
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.
2014-07-09format string should be a string literal.bcook
ok beck@ jsing@
2014-07-08remove use of internally-deprecated OPENSSL_malloc/freebcook
ok jsing@
2014-07-08Include -DLIBRESSL_INTERNAL in regress makefiles.Joel Sing
ok miod@
2014-07-08string.h is the correct file, not strings.hbcook
ok beck@ jsing@
2014-07-03Enter the REGRESS_FULL target subdirs for clean, cleandir and obj targets.Miod Vallat
2014-07-02Add an initial regress test for pkcs7.Joel Sing
This currently fails when signing/verifying with a detached signature.
2014-06-24Extend the chacha regress to cover the ChaCha interface, in addition to theJoel Sing
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.
2014-06-22Add regress tests for BIO_get_host_ip().Joel Sing
2014-06-21matthew reminds me to update regress to reflect current specTed Unangst
2014-06-13Add timingsafe_memcmp().Matthew Dempsky
ok deraadt, jmc, tedu
2014-06-22Add a skeleton regress for crypto/bio, which currently only coversJoel Sing
BIO_get_port() and fails since the current code believes that "-1" is a valid port.
2014-06-22Hook in the aead regress.Joel Sing
2014-06-21Add DTLS support to ssltest and wire up some regress tests.Joel Sing
ok miod@
2014-06-20Simple regress test for the amd64 bn_mul_mont bug found by JoyentMiod Vallat
( https://github.com/joyent/node/issues/7704 ), about to be fixed in libcrypto.
2014-06-20Move the crypto/bn regression test one directory deeper in preparation forMiod Vallat
it getting siblings.
2014-06-18Always call atexit handlers as if they were registered with __cxa_atexit.Mark Kettenis
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@