summaryrefslogtreecommitdiff
path: root/regress/lib
AgeCommit message (Collapse)Author
2018-06-02Initial regress for CSI DH.Joel Sing
2018-06-02Update regress for DES cipher suite removal.Joel Sing
2018-06-02Zero the client random so that it is easier to spot unintended differences.Joel Sing
2018-05-21In general I like verbose tests as output makes debugging easier.Alexander Bluhm
But this one just fills the log file by writing characters from the running threads. Pipe stdout to wc to show performance. Run test multiple times with various number of threads and print cpu time. Replace atoi(3) with strtonum(3). Fix white spaces.
2018-05-15Link free directory to libcrypto regress test suite.Theo Buehler
ok jsing
2018-05-15Test DSO_free(NULL).Theo Buehler
2018-05-15remove _CONF_free_data(). It doesn't belong here.Theo Buehler
2018-05-15Remove the /* ASN1_item_free */ annotations I added in r1.9 again.Theo Buehler
They generate a lot of noise in an upcoming diff.
2018-04-27Fix sem_timedwait regress test. Needs SA_RESTART to block now.Paul Irofti
Hug and OK guenther@
2018-04-27pthread_join() must not return EINTRPhilip Guenther
Simplify sem_trywait() ok pirofti@ mpi@
2018-04-26Prefer <fcntl.h> over <sys/fcntl.h> in userlandPhilip Guenther
While here, delete some extra #includes and apply style(9) sort rules. ok deraadt@ krw@ mpi@
2018-04-23Test X509_CRL_METHOD_free(NULL)Theo Buehler
2018-04-23About half of the listed functions are wrappers of ASN1_item_free().Theo Buehler
Annotate them.
2018-04-23Add a big pile of *_free() functions which I audited to be NULL-safe.Theo Buehler
2018-04-14Make ENGINE_free() succeed on NULL. Matches OpenSSL's behavior andTheo Buehler
simplifies the caller side. tested by & ok inoguchi; discussed with schwarze
2018-04-07Revise regress to match tls_keypair_clear() removal.Joel Sing
2018-04-07test X509_NAME_add_entry_by_txt(3); feedback and OK jsing@Ingo Schwarze
2018-03-29Fix three bugs in setlocale(3):Ingo Schwarze
1. setlocale(LC_ALL, "A"); setlocale(LC_CTYPE, "T"); setlocale(LC_ALL, NULL); must return "A/T/A/A/A/A", not "A". Fix this by always initializing the LC_ALL entry of newgl to "" in dupgl(). Reported by Karl Williamson <public at khwilliamson dot com> on bugs@, thanks! 2. Do not leak newgl when strdup(3) fails in setlocale(3). 3. For setlocale(LC_ALL, "C/C/fr_FR.UTF-8/C/C/C"); correctly set _GlobalRuneLocale; i found 2. and 3. while looking at the code. Feedback on a buggy earlier version and OK martijn@.
2018-03-19Remove the now unnecessary tls_init() call.Joel Sing
2018-03-19Add regress test ensuring autoinit stays pledge("stdio") safe.Bob Beck
2018-03-15Fix a format string issue that Go 1.10 complains about.Joel Sing
2018-03-15Provide SSL_CTX_get_min_proto_version and SSL_CTX_get_max_proto_versionJeremie Courreges-Anglas
We already provided the setters, so also provide the getters like OpenSSL does. Addition prompted by the use of those functions in recent openvpn releases. manpage diff from schwarze@ (thanks!) with input from jsing@, ok tb@ jsing@
2018-03-10Implement sicos(3), sincosf(3) and sincosl(3). These functions are commonMark Kettenis
extensions and modern compilers (such as clang) will use them to optimize separate calculations of sine and cosine. ok tom@, patrick@, deraadt@, jmc@
2018-02-14Update keypair regress to match revised keypair hash handling.Joel Sing
Apparently I failed to commit this when I committed the libtls change...
2018-02-08Update regress to use tlsext_serverhello_parse().Joel Sing
2018-02-08Update regress to match change to tls_keypair_pubkey_hash().Joel Sing
2018-02-08Add a regress test that covers libtls keypairs.Joel Sing
2018-02-08Tweak compiler flags to include -DLIBRESSL_INTERNAL and make more warningsJoel Sing
fatal.
2018-02-07Add more free functions for NULL checks.Joel Sing
2018-02-07Add more functions (based on those used in OpenSSH) to the free NULL test.Joel Sing
2018-01-28typoOtto Moerbeek
2018-01-28add malloc_threaderrOtto Moerbeek
2018-01-28Test for correct error when on thread allocates, and another does a double freeOtto Moerbeek
2018-01-27Update regress to match removal of ssl_parse_clienthello_tlsext().Joel Sing
2017-12-28Initialise new_cipher in the serverhello TLS extensions test, to avoid aJoel Sing
NULL pointer dereference in ssl_using_ecc_cipher(). Some compilers avoid triggering this, likely due to the EC formats list also being NULL. While here, setup the EC formats list so that we actually include the EC points format extension in the server hello extensions. Found the hard way by bcook@
2017-12-13If the list of templates 'o' passed to fuse_opt_parse(3) is NULL thenhelg
the processing function should be called in the same way as if no match was found. ok mpi@
2017-12-11sscanf(3) is now used to parse templates that contain format specifiershelg
(e.g. %u, %o) other than %s. This aligns libfuse with the Linux reference implementation. ok mpi@
2017-12-11The fuse_opt_match(3) library function does not match options correctly.helg
libfuse supports option templates of the following form that can be used to automatically parse arguments supplied on the command line. "-p " argument that takes an option e.g -p 22 or -p22 "-p %x" argument that takes an option parsed like sscanf(3) "cache=yes" matches -ocache=yes or -o cache=yes "cache=%s" matches -ocache=<string> or -o cache=<string> "cache=" matches same as above but value is passed to option proc "noatime" matches -onoatime or -o atime For example, it does not match options of the form "-p 22" or "cache=yes" to the corresponding templates "-p " and "cache=yes". This patch fixes that and updates the regression tests accordingly. ok mpi@
2017-12-09Add a regress test for tls_config_parse_protocols().Joel Sing
2017-12-09Use a test value that fits into a long on both 32-bit and 64-bitJoel Sing
architectures, so that the regress passes on both.
2017-11-28Add regress coverage for ASN1_TYPE_{get,set}_int_octetstring()Joel Sing
2017-11-28Add regress test coverage for building clienthello and serverhelloJoel Sing
extensions, both with extensions being present and not present. The not present case currently fails.
2017-11-28Add regress for CBB_discard_child().Joel Sing
Converted from BoringSSL.
2017-11-16Add regress tests for fuse_opt_parse() and fuse_parse_cmdline()helg
ok mpi@
2017-11-16Disable the pthread_once subtest until the problem with samba portAlexander Bluhm
is resolved and libpthread can be fixed. discussed with guenther@
2017-11-03Tests of libexpat 2.2.5 also need source file structdata.c.Alexander Bluhm
2017-10-16Add regress test for cancellation of pthread_once()'s init_routinePhilip Guenther
From Scott Cheloha (scottcheloha (at) gmail.com)
2017-10-15Add a regression test for ldexp(3).Visa Hankala
2017-10-11Update regress now that ssl_cipher_list_to_bytes() takes a CBB.Joel Sing
Based on a diff from doug@
2017-10-10Revise regress now that ssl_bytes_to_cipher_list() takes a CBS.Joel Sing