Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2023-05-02 | Style tweaks for SMIME_write_PKCS7() | tb | 1 | -7/+5 | |
Initialize the mdalgs stack at the top and test and assign for ctype_nid. Use an empty line to separate variable declarations from the actual code and zap an extra empty line. ok jsing | |||||
2023-05-02 | Unwrap a line | tb | 1 | -3/+2 | |
2023-05-02 | Simplify slightly and use i2d_PKCS7_bio_stream() | tb | 1 | -3/+3 | |
This is a wrapper of i2d_ASN1_bio_stream() that doesn't require us to pass in PKCS7_it. | |||||
2023-05-01 | stray whitespace | tb | 1 | -2/+2 | |
2023-05-01 | Add a missing pair of braces. | tb | 1 | -2/+3 | |
2023-05-01 | Use uppercase for the CURVE_LIST_LENGTH macro | tb | 1 | -6/+6 | |
2023-05-01 | Consistently use lowercase hex digits for curve parameters | tb | 1 | -749/+749 | |
2023-05-01 | Now that we have C99 initializers, garbage collect some comments | tb | 1 | -299/+299 | |
2023-05-01 | Rework the curve list to use actual structs instead of a custom | tb | 1 | -742/+1530 | |
serialized format. ok jsing | |||||
2023-05-01 | Drop the now unnecessary and unused field_type from the curve data | tb | 1 | -54/+4 | |
ok jsing | |||||
2023-05-01 | Convert EC_CURVE_DATA to C99 initializers | tb | 1 | -51/+192 | |
Also clean up the definition of EC_CURVE_DATA a bit. ok jsing | |||||
2023-05-01 | Simplify ec_group_new_from_data() further | tb | 1 | -16/+55 | |
We have a BN_CTX available, so we may as well use it. This simplifies the cleanup path at the cost of a bit more code in the setup. Also use an extra BIGNUM for the cofactor. Reusing x for this is just silly. If you were really going to avoid extra allocations, this entire function could easily have been written with three BIGNUMs. ok jsing | |||||
2023-05-01 | Make warnings more precise | job | 1 | -4/+4 | |
2023-05-01 | Drop some dead code | tb | 1 | -11/+2 | |
No member of the curve_list[] table has a method set. Thus, curve.meth is always NULL and we never take the EC_GROUP_new(meth) code path. ok jsing | |||||
2023-05-01 | Remove pointless/wrong .meth = 0 entries from curves_list[] | tb | 1 | -55/+1 | |
2023-05-01 | Mechanically convert curve_list[] to C99 initializers | tb | 1 | -55/+325 | |
ok jsing | |||||
2023-05-01 | Clean up handling of nist_curves[] | tb | 1 | -18/+14 | |
There's no point in introducing a typedef only for two sizeof() calls. We might as well use an anonymous struct for this list. Make it const while there, drop some braces and compare strcmp() return value to 0. ok jsing | |||||
2023-05-01 | Remove ASN1_item_ndef_i2d(3) documentation | tb | 2 | -35/+5 | |
This was the last public API explicitly named ndef/NDEF for indefinite length encoding, so remove that explanation as well. | |||||
2023-05-01 | First pass of removing low-level ASN.1 streaming docs | tb | 14 | -343/+26 | |
2023-05-01 | spelling | jsg | 1 | -3/+3 | |
2023-04-30 | x509_asn1: make this test pass again after reinstating DER preservation | tb | 1 | -5/+5 | |
2023-04-30 | check_complete.pl: update for recent changes in bn | tb | 1 | -4/+3 | |
2023-04-30 | mandoc -Tlint tells me I forgot to zap a comma | tb | 1 | -2/+2 | |
2023-04-30 | Remove most documentation pertaining to proxy certificates. | tb | 6 | -205/+10 | |
Update EXFLAG_PROXY and X509_V_FLAG_ALLOW_PROXY_CERTS documentation since we need to keep them for the time being. | |||||
2023-04-30 | Remove proxy cert api remmnants | tb | 1 | -9/+1 | |
2023-04-30 | Remove documentation of BN_generate_prime(), BN_is_prime{,_fasttest}() | tb | 1 | -85/+4 | |
2023-04-30 | Remove documentation of BN_zero_ex() and update BN_one() and BN_zero() | tb | 1 | -22/+3 | |
which are no longer macros (and the latter is no longer deprecated and no longer attempts to allocate memory). | |||||
2023-04-30 | Garbage collect BN_zero_ex() | tb | 1 | -7/+1 | |
2023-04-30 | Remove __dead again. Apparently this causes issues for some upstreams. | tb | 1 | -2/+2 | |
Thanks to orbea for the report | |||||
2023-04-30 | Revert disablement of the encoding cache | job | 2 | -4/+17 | |
Without the cache, we verify CRL signatures on bytes that have been pulled through d2i_ -> i2d_, this can cause reordering, which in turn invalidates the signature. for example if in the original CRL revocation entries were sorted by date instead of ascending serial number order. There are probably multiple things we can do here, but they will need careful consideration and planning. OK jsing@ | |||||
2023-04-30 | Send x509_subject_cmp() to the attic | tb | 1 | -9/+1 | |
This helper has been inside #if 0 for nearly 25 years. Let it go. If we should ever need it, I'm quite confident that we will be able to come up with its one line body on our own. | |||||
2023-04-30 | The policy tree is no more | tb | 9 | -527/+11 | |
Mop up documentation mentioning it or any of its numerous accessors that almost nothing ever used. | |||||
2023-04-30 | Zap extra blank line | tb | 1 | -2/+1 | |
2023-04-30 | Make the descriptions of BIO_get_retry_BIO(3) and BIO_get_retry_reason(3) | schwarze | 1 | -11/+60 | |
more precise. Among other improvements, describe the three BIO_RR_* constants serving as reason codes. | |||||
2023-04-30 | Slightly improve the documentation of the "oper" parameter by | schwarze | 1 | -3/+10 | |
explicitly listing the valid arguments, i.e. the BIO_CB_* constants. | |||||
2023-04-30 | Document the eight BIO_CONN_S_* constants that are passed to BIO_info_cb(3) | schwarze | 1 | -2/+36 | |
as the "state" argument. Document them here because connect BIOs are the only built-in BIO type using these constants. | |||||
2023-04-30 | Mark the five BIO_GHBN_* constants as intentionally undocumented. | schwarze | 1 | -2/+7 | |
They are intended to be used by BIO_gethostbyname(), which is deprecated in OpenSSL and already marked as intentionally undocumented in LibreSSL. Besides, these constants are completely unused by anything. | |||||
2023-04-30 | whitespace | tb | 1 | -2/+2 | |
2023-04-30 | Sort alphabetically | tb | 1 | -2/+2 | |
2023-04-30 | Remove unnecessary target | tb | 1 | -4/+1 | |
2023-04-30 | policy test: simplify Makefile | tb | 1 | -9/+2 | |
2023-04-29 | Mention a few standard BIO_ctrl(3) command constants | schwarze | 3 | -13/+30 | |
that provide type-specific functionality here. While here, fix some wrong return types in the SYNOPSIS. | |||||
2023-04-29 | Mention a few standard BIO_ctrl(3) command constants | schwarze | 1 | -2/+7 | |
that provide type-specific functionality here, and add the missing return type to one function prototype. | |||||
2023-04-29 | Mention the type-specific BIO_ctrl(3) command constants | schwarze | 2 | -8/+34 | |
in the manual pages of the respective BIO types. | |||||
2023-04-29 | Mention the type-specific BIO_ctrl(3) command constants | schwarze | 2 | -16/+40 | |
in the manual pages of the respective BIO type. While here, fix some wrong return types in the SYNOPSIS. | |||||
2023-04-28 | Mark OpenSSLDie() as __dead | tb | 1 | -2/+2 | |
This tells gcc that OPENSSL_assert() will not return and thus avoids a silly warning that triggers scary gentoo QA warnings. From claudio | |||||
2023-04-28 | Free all libcrypto global state memory before returning | job | 1 | -1/+3 | |
Found with the help of Otto's malloc memory leak detector! | |||||
2023-04-28 | Return a non-zero error exit code on any DER cache discrepancies | job | 1 | -3/+3 | |
2023-04-28 | Fix leaks reported by ASAN | tb | 1 | -5/+1 | |
debugged with job | |||||
2023-04-28 | Too many stupid things whine about these being used uninitialized | tb | 1 | -2/+2 | |
(which they aren't), so appease them. |