summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2024-03-15zlib: sync with upstreamTheo Buehler
More Windows #ifdef shuffling. Only one change relevant for OpenBSD: Make deflateBound() more conservative and handle Z_STREAM_END.
2024-03-14Add missing Nm entries for OBJ_NAME_do_all*Theo Buehler
2024-03-14Mark up X509_STORE_get1_objects()Theo Buehler
2024-03-14Add back a .PpTheo Buehler
2024-03-14Change log and regress test for expat billion laughs attack.Alexander Bluhm
2024-03-14Cerry-pick fix for CVE-2024-28757 from libexpat.Alexander Bluhm
Detect billion laughs attack with isolated external parser. github commit 1d50b80cf31de87750103656f6eb693746854aa8 OK deraadt@
2024-03-06Clarify ownership in X509_STORE_add_lookup()Theo Buehler
Whether an X509_LOOKUP with given method already exists or not, this API returns an internal pointer that must not be freed.
2024-03-06POSIX defines inet_ntoa, not inet_aton.Anthony J. Bentley
ok deraadt@ jmc@
2024-03-06Remove CRL method API documentationTheo Buehler
2024-03-05lh_<type>_error() is no longer implemented as a macroTheo Buehler
2024-03-05Remove GOST documentationTheo Buehler
2024-03-05Remove ASN1_time_parse documentationTheo Buehler
2024-03-05Remove EVP_MD_meth* documentationTheo Buehler
Move the description of the EVP_MD_FLAGs to EVP_MD_nid() and add a reference to the CMS specification.
2024-03-04Remove EVP_add_{cipher,digest}* docsTheo Buehler
2024-03-04lh_new.3: zap a trailing commaTheo Buehler
2024-03-04Bring back the fabsf strong alias to fabs, lost sometime ago duringMiod Vallat
libm symbol visibility rework. This would warrant a libm.so minor bump, but as 7.5 packages build have started, this won't happen (and hopefully noone will notice since this only affects landisk). ok deraadt@
2024-03-04EVP_CIPH_CUSTOM_KEY_LENGTH and EVP_CTRL_SET_KEY_LENGTH are goneTheo Buehler
2024-03-04Remove docs for sk_find_ex()Theo Buehler
2024-03-04Remove documentation of some CRYPTO_THREADID APITheo Buehler
CRYPTO_THREADID_{cpm,cpy,current,hash}() are no longer public, so remove their documentation.
2024-03-04Document X509_STORE_get1_objects and deprecate the get0 versionTheo Buehler
This manual is ordered a bit strangely in that some functions are only documented in RETURN VALUES.
2024-03-02Shorter and simpler version which does not need to use the stack.Miod Vallat
2024-03-02include <time.h> for time_t and struct tm, needed for macosTheo Buehler
ok millert miod
2024-03-02Remove some GOST relicsTheo Buehler
2024-03-02Provide the missing fabsl alias to fabs.Miod Vallat
No shlib_version change needed, jumping on the version bump of the mkdtems addition.
2024-03-02Crank libressl version to 3.9.0 (finally!)Theo Buehler
2024-03-02crank libtls majorTheo Buehler
same bump as libcrypto and libssl
2024-03-02crank libssl majorTheo Buehler
same bump as libcrypto; symbol removal and addition
2024-03-02Remove SSL_debugTheo Buehler
The garbage truck is quite full by now. Collect the last symbol straggler for this bump. ok jsing
2024-03-02Garbage collect TLS1_FLAGS_SKIP_CERT_VERIFYTheo Buehler
And here goes another weird-ass thing of dubious pedigree. ok jsing
2024-03-02Make {SSL3,TLS}_CT_* internalTheo Buehler
And here goes a bunch of unused macros that just had to be in two headers so they could get out of sync. Three of these constants are used in a single function... ok jsing
2024-03-02Remove SSL_CIPHER_get_by_{id,value}()Theo Buehler
While this undocumented API would have been much nicer and saner than SSL_CIPHER_find(), nothing used this except for the exporter test. Let's get rid of it again. libssl uses ssl3_get_cipher_by_{id,value}() directly. ok jsing
2024-03-02Export SSL_get_{peer_,}signature_type_nid()Theo Buehler
Also move the prototypes to the correct header. Oversight reported by Frank Lichtenheld, thanks! Fixes https://github.com/libressl/openbsd/issues/147 ok jsing
2024-03-02crank libcrypto majorTheo Buehler
There were symbol addition, removal, function signature changes and struct visibility changes.
2024-03-02Change sk in CRYPTO_EX_DATA from STACK_OF(void) * to void *Theo Buehler
Requested by jsing
2024-03-02tedu OPENSSL_isservice() prototypeTheo Buehler
When tedu tedued OPENSSL_isservice(), tedus chainsaw missed crypto.h. Finish the teduing of the hack for Visual C++ 5.0 (!), which is still present in the latest and greatest OpenSSL. ok jsing
2024-03-02Make CRYPTO_THREADID opaqueTheo Buehler
With ERR_STATE out of the way, we can make CRYPTO_THREADID opaque. The type is still accessed by used public API, but some of the public API can also go away. ok jsing
2024-03-02Fix CRYPTO_malloc/free signaturesTheo Buehler
Importantly, the size in malloc is now a size_t instead of an int. The API now also takes a file and line to match upstream's signature. ok jsing
2024-03-02Remove CRYPTO_*infoTheo Buehler
Long time neutered, only used (pointlessly without error checking) in the error code until very recently. ok jsing
2024-03-02Remove a bunch of CRYPTO memory APITheo Buehler
This was neutered early on in the fork and has been rotting ever since. Some parts of the API are still used, but it's easier to clean up when most of the mess is gone. ok jsing
2024-03-02Update list of OPENSSL_NO_*Theo Buehler
This syncs the list with some version of upstream and exposes a few OPENSSL_NO_* that may now be relevant. from jsing (a long time ago)
2024-03-02Remove a few no longer used sk_FOO_* stanzasTheo Buehler
ok jsing
2024-03-02Remove sk_find_ex()Theo Buehler
This API intends to find the closest match to the needle. M2Crypto exposes it because it can. This will be fixed by patching the port. ok jsing
2024-03-02Unhook and remove GOST and STREEBOGTheo Buehler
This stops compiling the GOST source. The current implementation is low quality and got in the way, especially in libssl. While we would be open for GOST support, it needs to be significantly better than what we have had and it also needs a maintainer. Add OPENSSL_NO_GOST to opensslfeatures and stop installing gost.h. Some code wrapped in #ifndef OPENSSL_NO_GOST will be removed later. ok jsing
2024-03-02Make LHASH_OF() and STACK_OF() use opaque structsTheo Buehler
This removes internals of these two special snowflakes and will allow further simplifications. Unfortunately, there are some pieces of software that actually use LHASH_OF() (looking at you, pound, Ruby, and openssl(1)), so we get to keep exposing this garbage, at least for now. Expose lh_error() as a symbol to replace a macro reaching into _LHASH. lh_down_load() is no longer available. _LHASH and _STACK are now opaque, LHASH_NODE becomes internal-only. from jsing
2024-03-02Remove lh statsTheo Buehler
This could have been removed in an earlier bump. Now it's time for it to say goodbye. ok jsing
2024-03-02Remove X509_CRL_METHOD APITheo Buehler
I would keep repeating myself... In the bit bucket you go. ok jsing
2024-03-02Garbage collect most of the public LOOKUP APITheo Buehler
Yet another bit of extensibility that no one ever really used. X509_LOOKUP_free() needs to stay because of ... rust-openssl (and kdelibs4support). ok jsing
2024-03-02Expose X509_STORE_get1_objects()Theo Buehler
Safer replacement API for the unsafe X509_STORE_get0_objects(). ok jsing
2024-03-02Make X509_CERT_AUX internalTheo Buehler
Another struct/API that should never have leaked out of the library. ok jsing
2024-03-02Remove X509_TRUST from the public APITheo Buehler
With API and other users internal, this struct can now go. ok jsing