Up to [local] / src / lib / libcrypto
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.21 / (download) - annotate - [select for diffs], Wed Apr 10 14:51:02 2024 UTC (2 months ago) by beck
Branch: MAIN
CVS Tags: HEAD
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)
Finish Hiding symbols in crypto.h crypto.h already had the symbols not hidden behind LIBRESSL_INTERNAL hidden - This now picks up the reset of them marking them as LCRYPTO_UNUSED, and removes the LIBRESSL_INTERNAL guard. These symbols will now be hidden, but if we use them inside the library in a namespaced build we will get a deprecation warning. use outside the library will be as with any other hidden symbol, so fine. ok tb@
Revision 1.20 / (download) - annotate - [select for diffs], Tue Apr 9 13:52:41 2024 UTC (2 months ago) by beck
Branch: MAIN
Changes since 1.19: +5 -1 lines
Diff to previous 1.19 (colored)
Hide public symbols in evp.h largely mechanically done by the guentherizer 9000 ok tb@
Revision 1.19 / (download) - annotate - [select for diffs], Tue Mar 19 19:27:33 2024 UTC (2 months, 3 weeks ago) by tb
Branch: MAIN
Changes since 1.18: +6 -1 lines
Diff to previous 1.18 (colored)
Move the OPENSSL_init() stub from o_init.c to crypto_init.c
Revision 1.18 / (download) - annotate - [select for diffs], Thu Jan 25 12:22:31 2024 UTC (4 months, 2 weeks ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5
Changes since 1.17: +1 -2 lines
Diff to previous 1.17 (colored)
Ditch another noop from OPENSSL_cleanup()
Revision 1.17 / (download) - annotate - [select for diffs], Sat Jan 13 17:04:29 2024 UTC (4 months, 3 weeks ago) by tb
Branch: MAIN
Changes since 1.16: +1 -3 lines
Diff to previous 1.16 (colored)
Remove calls to OpenSSL_add_all_{ciphers,digests}()
Revision 1.16 / (download) - annotate - [select for diffs], Sat Jan 13 11:18:52 2024 UTC (4 months, 4 weeks ago) by tb
Branch: MAIN
Changes since 1.15: +22 -1 lines
Diff to previous 1.15 (colored)
Stub out {OpenSSL,OPENSSL}_add* These serve no purpose anymore (and really haven't for many years) but will have to be kept since there's a number of software that still uses them because many years ago they had to. Relocate the stubs to crypto_init.c since library initialization's what they were there for. ok jsing
Revision 1.15 / (download) - annotate - [select for diffs], Sun Jan 7 19:59:32 2024 UTC (5 months ago) by tb
Branch: MAIN
Changes since 1.14: +1 -2 lines
Diff to previous 1.14 (colored)
Garbage collect call to X509_TRUST_cleanup() Since x509_trs.c r1.33, this is a noop.
Revision 1.14 / (download) - annotate - [select for diffs], Sat Jan 6 17:43:39 2024 UTC (5 months ago) by tb
Branch: MAIN
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored)
Remove X509_PURPOSE_cleanup() call in OPENSSL_cleanup() Since x509_purp.c r1.34 this is a noop since there is nothing to clean up anymore. Remove the last caller.
Revision 1.13 / (download) - annotate - [select for diffs], Sat Dec 16 12:36:14 2023 UTC (5 months, 3 weeks ago) by tb
Branch: MAIN
Changes since 1.12: +1 -2 lines
Diff to previous 1.12 (colored)
Remove call to ASN1_STRING_TABLE_cleanup() In a few minutes, the string table will no longer have anything to clean up and ASN1_STRING_TABLE_cleanup() will push an error on the stack. So remove this pointless call in the still too complicated OPENSSL_cleanup(). ok jsing
Revision 1.12 / (download) - annotate - [select for diffs], Sun Nov 19 15:46:09 2023 UTC (6 months, 3 weeks ago) by tb
Branch: MAIN
Changes since 1.11: +1 -7 lines
Diff to previous 1.11 (colored)
Unifdef OPENSSL_NO_ENGINE in libcrypto This is mechanical apart from a few manual edits to avoid doubled empty lines. ok jsing
Revision 1.11 / (download) - annotate - [select for diffs], Sat Jul 8 08:28:23 2023 UTC (11 months ago) by beck
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE,
OPENBSD_7_4
Changes since 1.10: +3 -1 lines
Diff to previous 1.10 (colored)
Hide symbols in crypto.h ok jsing@
Revision 1.10 / (download) - annotate - [select for diffs], Sun Jul 2 19:52:01 2023 UTC (11 months, 1 week ago) by tb
Branch: MAIN
Changes since 1.9: +10 -1 lines
Diff to previous 1.9 (colored)
Clean up dynamic tables in OPENSSL_cleanup() This is not currently done in OpenSSL, but it looks more like something that was mised rather than desired behavior. There are some thread safety issues here, but those are rife in this codebase anyway (although I heard claims on some versions of this lib being "fully threadsafe"). no objection jsing
Revision 1.9 / (download) - annotate - [select for diffs], Mon Jun 19 18:32:05 2023 UTC (11 months, 3 weeks ago) by tb
Branch: MAIN
Changes since 1.8: +5 -1 lines
Diff to previous 1.8 (colored)
Properly guard ENGINE usage with !OPENSSL_NO_ENGINE
Revision 1.8 / (download) - annotate - [select for diffs], Mon May 8 13:53:26 2023 UTC (13 months ago) by tb
Branch: MAIN
Changes since 1.7: +1 -0 lines
Diff to previous 1.7 (colored)
Add RCS tag
Revision 1.7 / (download) - annotate - [select for diffs], Sat Mar 11 14:29:02 2023 UTC (15 months ago) by jsing
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE,
OPENBSD_7_3
Changes since 1.6: +1 -0 lines
Diff to previous 1.6 (colored)
Call CRYPTO_cleanup_all_ex_data() from OPENSSL_cleanup(). Issue reported by Graham Percival (@gperciva) ok tb@
Revision 1.6 / (download) - annotate - [select for diffs], Sat Sep 3 17:47:47 2022 UTC (21 months, 1 week ago) by jsing
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE,
OPENBSD_7_2
Changes since 1.5: +24 -4 lines
Diff to previous 1.5 (colored)
Prepare to provide OPENSSL_cleanup. OPENSSL_cleanup() cleans up and deallocates memory in use by the library. There are a couple of use cases for this, primarily related to memory leak testing. This will not be called automatically in LibreSSL, which means that OpenSSL's OPENSSL_NO_INIT_ATEXIT is implied. If code wants to clean up then they need to explicitly call this themselves. ok tb@
Revision 1.5 / (download) - annotate - [select for diffs], Wed Nov 28 15:51:32 2018 UTC (5 years, 6 months ago) by jsing
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6,
OPENBSD_6_5_BASE,
OPENBSD_6_5
Changes since 1.4: +2 -3 lines
Diff to previous 1.4 (colored)
Correct lock initialisation for libcrypto. The current crypto_lock_init() function is not called early enough, meaning that locks are already in use before it gets called. Worse, locks could be in use when they are then initialised. Furthermore, since functions like CRYPTO_lock() are public API, these could be called directly bypassing initialisation. Avoid these issues by using static initialisers. ok bcook@
Revision 1.4 / (download) - annotate - [select for diffs], Sun Nov 11 06:41:28 2018 UTC (5 years, 7 months ago) by bcook
Branch: MAIN
Changes since 1.3: +3 -0 lines
Diff to previous 1.3 (colored)
Add automatic threading initialization for libcrypto. This implements automatic thread support initialization in libcrypto. This does not remove any functions from the ABI, but does turn them into no-ops. Stub implementations of pthread_mutex_(init|lock|unlock) are provided for ramdisks. This does not implement the new OpenSSL 1.1 thread API internally, keeping the original CRYTPO_lock / CRYPTO_add_lock functions for library locking. For -portable, crypto_lock.c can be reimplemented with OS-specific primitives as needed. ok beck@, tb@, looks sane guenther@
Revision 1.3 / (download) - annotate - [select for diffs], Mon Mar 19 14:07:18 2018 UTC (6 years, 2 months ago) by beck
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)
correct funciton prototype spotted by anton@
Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 19 03:35:38 2018 UTC (6 years, 2 months ago) by beck
Branch: MAIN
Changes since 1.1: +11 -4 lines
Diff to previous 1.1 (colored)
Correct mistake of loading the default openssl.conf by default during autoinit. This brings in the OPENSSL_INIT_LOAD_CONFIG flag with the same semantics as OpenSSL. As a result, by default the openssl.conf file is not loaded during autoinit, which makes autoinit safe for pledge(stdio). ok jsing@
Revision 1.1 / (download) - annotate - [select for diffs], Sat Mar 17 16:20:01 2018 UTC (6 years, 2 months ago) by beck
Branch: MAIN
Bring in compatibility for OpenSSL 1.1 style init functions. This adds OPENSSL_init_crypto and OPENSSL_init_ssl, as well thread safety modifications for the existing LibreSSL init functions. The initialization routines are called automatically by the normal entry points into the library, as in newer OpenSSL ok jsing@, nits by tb@ and deraadt@