Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix whitespace | tb | 2023-07-08 | 1 | -2/+2 | |
| | ||||||
* | partial fix for make -j8 (bluhm@ is sitting right next to me and agreeing) | espie | 2023-07-08 | 1 | -5/+4 | |
| | | | | | there is a subtler issue with make regress/make all that will be way more of a headache to sort ! | |||||
* | upstream portable fix for ocsp_test | bcook | 2023-07-07 | 1 | -1/+6 | |
| | ||||||
* | Add test coverage for leading zero octet dance | tb | 2023-07-07 | 1 | -1/+15 | |
| | ||||||
* | fixup for MS compilers | bcook | 2023-07-07 | 1 | -1/+8 | |
| | ||||||
* | bn_print: remove unused bio, plug leak | tb | 2023-07-06 | 1 | -5/+3 | |
| | ||||||
* | Add regress coverage for bn_printf | tb | 2023-07-06 | 2 | -1/+283 | |
| | | | | | This must be one of the ugliest tests I've ever written, but I can't think of a better way of doing it. | |||||
* | Codify BN_asc2bn(NULL, *) behavior in regress. | tb | 2023-06-23 | 1 | -1/+11 | |
| | ||||||
* | symbols: Tweak this test so it works with -j N | tb | 2023-06-22 | 1 | -6/+4 | |
| | ||||||
* | Add tests for BN_sqr() corner cases. | jsing | 2023-06-21 | 1 | -1/+81 | |
| | | | | | Test BN_sqr() with a newly allocated BN, a BN explicitly set to zero and small values that fit in a single BN_ULONG. | |||||
* | Add BN_cmp()/BN_ucmp() tests with zero padded inputs. | jsing | 2023-06-21 | 1 | -1/+25 | |
| | | | | | Currently BN_hex2bn() removes the leading zeros, however this will not be the case in the future. | |||||
* | Add a BN_num_bits() with zero padded input. | jsing | 2023-06-21 | 1 | -4/+13 | |
| | | | | | Currently BN_hex2bn() removes the leading zeros, however this will not be the case in the future. | |||||
* | Fix copy-paste error | tb | 2023-06-20 | 1 | -2/+2 | |
| | ||||||
* | Add regress coverage for BN_num_bits() | jsing | 2023-06-20 | 1 | -1/+35 | |
| | ||||||
* | Make enginetest work with disabled engine support | tb | 2023-06-19 | 1 | -1/+10 | |
| | ||||||
* | Fix GOST test with disabled engine | tb | 2023-06-19 | 1 | -1/+5 | |
| | ||||||
* | Fix copy+paste error in x509 asn regress | job | 2023-06-05 | 1 | -3/+3 | |
| | ||||||
* | bn_mod_inverse tweaks | tb | 2023-06-04 | 1 | -2/+4 | |
| | | | | | Provide prototype that is hidden behind LIBRESSL_INTERNAL for portable and or in result for future extensibility. | |||||
* | Add regress coverage for BN_mod_inverse() | tb | 2023-06-03 | 2 | -1/+387 | |
| | | | | | This would detect the aliasing issue reported by Guido Vranken fixed in bn_gcd.c r1.28. Most testcases are from BoringSSL's regress test. | |||||
* | fix typo | tb | 2023-06-02 | 1 | -2/+2 | |
| | ||||||
* | Correct test that was pasto'ed incorrectly | beck | 2023-05-29 | 1 | -3/+7 | |
| | | | | This now tests what the comment says it does | |||||
* | Make X509_NAME_get_text_by[NID|OBJ] safer. | beck | 2023-05-29 | 1 | -2/+77 | |
| | | | | | | | | | | | | | | | | This is an un-revert with nits of the previously landed change to do this which broke libtls. libtls has now been changed to not use this function. This change ensures that if something is returned it is "text" (UTF-8) and a C string not containing a NUL byte. Historically callers to this function assume the result is text and a C string however the OpenSSL version simply hands them the bytes from an ASN1_STRING and expects them to know bad things can happen which they almost universally do not check for. Partly inspired by goings on in boringssl. ok jsing@ tb@ | |||||
* | Add coverage for calling BN_{dec,hex}2bn() with NULL inputs. | jsing | 2023-05-27 | 1 | -9/+37 | |
| | ||||||
* | Add empty line for consistency | tb | 2023-05-23 | 1 | -1/+2 | |
| | ||||||
* | Add regress coverage for obj_dat.c r1.52 | tb | 2023-05-23 | 1 | -1/+44 | |
| | ||||||
* | ecdhtest: Fix indent | tb | 2023-05-20 | 1 | -2/+2 | |
| | ||||||
* | ecdhtest: check malloc() return values | tb | 2023-05-16 | 1 | -4/+7 | |
| | | | | From Ilya Chipitsine | |||||
* | Assert that test->want != NULL at this point | tb | 2023-05-13 | 1 | -1/+3 | |
| | | | | Should make coverity happier | |||||
* | asn1oct: add a couple more tests | tb | 2023-05-12 | 1 | -1/+10 | |
| | ||||||
* | asn1oct: minor tweak in error message | tb | 2023-05-12 | 1 | -3/+3 | |
| | ||||||
* | Add regress coverage for {s2i,i2s}_ASN1_OCTET_STRING | tb | 2023-05-12 | 2 | -1/+271 | |
| | ||||||
* | Add regress coverage for -1 modulus as well. | tb | 2023-05-09 | 1 | -25/+38 | |
| | ||||||
* | symbols.awk: Remove cfb dance | tb | 2023-05-04 | 1 | -4/+2 | |
| | | | | With e_old.c gone, we no longer need this. | |||||
* | sigh. typo | tb | 2023-05-04 | 1 | -2/+2 | |
| | ||||||
* | Let ecdsatest exercise ECParameters_dup() a bit | tb | 2023-05-04 | 1 | -2/+3 | |
| | | | | This currently leaks, which will fixed in a follow-on commit. | |||||
* | Remove x9_62_test_internal() | tb | 2023-05-04 | 1 | -72/+1 | |
| | | | | | | This test depends on RAND_set_rand_method() allowing stupid things like making ECDSA signatures deterministic. This was gutted a long time ago and the function should have followed its wrappers into the attic. | |||||
* | Revert utf-8 fix for X509_NAME_get_index_by_NID to avoid libtls | beck | 2023-05-03 | 1 | -77/+2 | |
| | | | | | | | regress for the moment. this will come back after we rethink the failure versus not there case. ok tb@ jsing@ | |||||
* | Change X509_NAME_get_index_by[NID|OBJ] to be safer. | beck | 2023-05-02 | 1 | -2/+77 | |
| | | | | | | | | | | | | | | | | | | | | | | Currently these functions return raw ASN1_STRING bytes as a C string and ignore the encoding in a "hold my beer I am a toolkit not a functioning API surely it's just for testing and you'd never send nasty bytes" kind of way. Sadly some callers seem to use them to fetch things liks subject name components for comparisons, and often just use the result as a C string. Instead, encode the resulting bytes as UTF-8 so it is something like "text", Add a failure case if the length provided is inadequate or if the resulting text would contain an nul byte. based on boringssl. nits by dlg@ ok tb@ | |||||
* | Mark the BIO_F_* function codes as intentionally undocumented | schwarze | 2023-05-02 | 1 | -1/+1 | |
| | | | | | | and for now, skip the the BIO_R_* reason codes. It looks like all public symbols in the BIO library are now documented or marked as intentionally undocumented. | |||||
* | Simplify slightly and use i2d_PKCS7_bio_stream() | tb | 2023-05-02 | 1 | -3/+3 | |
| | | | | | This is a wrapper of i2d_ASN1_bio_stream() that doesn't require us to pass in PKCS7_it. | |||||
* | Make warnings more precise | job | 2023-05-01 | 1 | -4/+4 | |
| | ||||||
* | x509_asn1: make this test pass again after reinstating DER preservation | tb | 2023-04-30 | 1 | -5/+5 | |
| | ||||||
* | check_complete.pl: update for recent changes in bn | tb | 2023-04-30 | 1 | -4/+3 | |
| | ||||||
* | Sort alphabetically | tb | 2023-04-30 | 1 | -2/+2 | |
| | ||||||
* | Remove unnecessary target | tb | 2023-04-30 | 1 | -4/+1 | |
| | ||||||
* | policy test: simplify Makefile | tb | 2023-04-30 | 1 | -9/+2 | |
| | ||||||
* | Free all libcrypto global state memory before returning | job | 2023-04-28 | 1 | -1/+3 | |
| | | | | Found with the help of Otto's malloc memory leak detector! | |||||
* | Return a non-zero error exit code on any DER cache discrepancies | job | 2023-04-28 | 1 | -3/+3 | |
| | ||||||
* | Fix leaks reported by ASAN | tb | 2023-04-28 | 1 | -5/+1 | |
| | | | | debugged with job | |||||
* | Mark the obsolete PROXY_PARAM and SOCKS BIO_ctrl(3) command constants | schwarze | 2023-04-28 | 1 | -0/+2 | |
| | | | | | as intentionally undocumented. Do that here because no related manual pages exist. |