| #
f0d701e2 |
| 08-Jul-2024 |
beck <beck@openbsd.org> |
Hide global _it variables in x509.h
ok tb@
|
| #
703da89d |
| 15-Apr-2024 |
tb <tb@openbsd.org> |
X509_NAME_ENTRIES_it and X509_NAME_INTERNAL_it go internal
It's always good to see something called internal in the public API.
ok jsing
|
| #
e1608179 |
| 09-Apr-2024 |
beck <beck@openbsd.org> |
Hide public symbols in x509.h
This picks up most of the remaining public symbols in x509.h
ok tb@
|
| #
269054dc |
| 24-Jul-2023 |
tb <tb@openbsd.org> |
Use C99 initializers for x509_name_ff
|
| #
1ec3c770 |
| 07-Jul-2023 |
beck <beck@openbsd.org> |
Unbreak the namespace build after a broken mk.conf and tool misfire had me aliasing symbols not in the headers I was procesing.
This unbreaks the namespace build so it will pass again
ok tb@
|
| #
acf64401 |
| 05-Jul-2023 |
beck <beck@openbsd.org> |
Hide symbols in asn1 and bio
ok jsing@
|
| #
c9675a23 |
| 26-Nov-2022 |
tb <tb@openbsd.org> |
Make internal header file names consistent
Libcrypto currently has a mess of *_lcl.h, *_locl.h, and *_local.h names used for internal headers. Move all these headers we inherited from OpenSSL to *_l
Make internal header file names consistent
Libcrypto currently has a mess of *_lcl.h, *_locl.h, and *_local.h names used for internal headers. Move all these headers we inherited from OpenSSL to *_local.h, reserving the name *_internal.h for our own code. Similarly, move dtls_locl.h and ssl_locl.h to dtls_local and ssl_local.h. constant_time_locl.h is moved to constant_time.h since it's special.
Adjust all .c files in libcrypto, libssl and regress.
The diff is mechanical with the exception of tls13_quic.c, where #include <ssl_locl.h> was fixed manually.
discussed with jsing, no objection bcook
show more ...
|
| #
1ee5d7ed |
| 25-Dec-2021 |
jsing <jsing@openbsd.org> |
Indent goto labels for diffability.
Whitespace change only.
|
| #
838f0b6d |
| 01-Nov-2021 |
tb <tb@openbsd.org> |
Move the now internal X.509-related structs into x509_lcl.h. Garbage collect the now unused LIBRESSL_CRYPTO_INTERNAL and LIBRESSL_OPAQUE_X509. Include "x509_lcl.h" where needed and fix a couple of un
Move the now internal X.509-related structs into x509_lcl.h. Garbage collect the now unused LIBRESSL_CRYPTO_INTERNAL and LIBRESSL_OPAQUE_X509. Include "x509_lcl.h" where needed and fix a couple of unnecessary reacharounds.
ok jsing
show more ...
|
| #
b79b5710 |
| 04-Jul-2021 |
schwarze <schwarze@openbsd.org> |
Bugfix: when X509_NAME_dup(3) failed, X509_NAME_set(3) indicated success even though it did not actually set the name. Instead, indicate failure in this case.
This commit sneaks in a small, unrelate
Bugfix: when X509_NAME_dup(3) failed, X509_NAME_set(3) indicated success even though it did not actually set the name. Instead, indicate failure in this case.
This commit sneaks in a small, unrelated change in behaviour. If the first argument of X509_NAME_set(3) was NULL, the function used to return failure. Now it crashes the program by accessing the NULL pointer, for compatibility with the same change in OpenSSL.
This merges the following two commits from the OpenSSL-1.1.1 branch, which is still available under a free license: 1. 180794c5 Rich Salz Sep 3 11:33:34 2017 -0400 2. c1c1783d Richard Levitte May 17 09:53:14 2018 +0200
OK tb@
show more ...
|
| #
fdea4479 |
| 20-Feb-2018 |
jsing <jsing@openbsd.org> |
Provide X509_NAME_get0_der().
From OpenSSL.
|
| #
5067ae9f |
| 29-Jan-2017 |
beck <beck@openbsd.org> |
Send the function codes from the error functions to the bit bucket, as was done earlier in libssl. Thanks inoguchi@ for noticing libssl had more reacharounds into this. ok jsing@ inoguchi@
|
| #
b2b2c403 |
| 30-Dec-2016 |
jsing <jsing@openbsd.org> |
Expand ASN1_ITEM_rptr and ASN1_ITEM_ptr macros - no change in generated assembly.
|
| #
72327b6b |
| 24-Jul-2015 |
jsing <jsing@openbsd.org> |
Expand ASN1_ITEM_TEMPLATE/ASN1_EX_TEMPLATE_TYPE/ASN1_ITEM_TEMPLATE_END macros - the generated assembly only differs by changes to line numbers.
|
| #
00a1fb87 |
| 15-Jul-2015 |
miod <miod@openbsd.org> |
Fix two theoretical NULL pointer dereferences which can only happen if you have seriously corrupted your memory; Coverity CID 21708 and 21721.
While there, plug a memory leak upon error in x509_name
Fix two theoretical NULL pointer dereferences which can only happen if you have seriously corrupted your memory; Coverity CID 21708 and 21721.
While there, plug a memory leak upon error in x509_name_canon().
ok bcook@ beck@
show more ...
|
| #
00f49806 |
| 14-Feb-2015 |
miod <miod@openbsd.org> |
Unchecked allocations in x509_name_canon(). ok doug@ jsing@
|
| #
422e5573 |
| 14-Feb-2015 |
jsing <jsing@openbsd.org> |
Manually expand IMPLEMENT_EXTERN_ASN1 macro (the only occurence in crypto).
Only change to generated assembly is due to line numbers.
|
| #
1d1fcfe9 |
| 14-Feb-2015 |
miod <miod@openbsd.org> |
Check i2d_name_canon() for failure (negative return). Coverity CID 78888. ok doug@ jsing@
|
| #
6bda5825 |
| 11-Feb-2015 |
jsing <jsing@openbsd.org> |
Remove initialisers with default values from the ASN1 data structures.
Minor changes in generated assembly due to the compiler swapping from .quad 0/.long 0 to .zero, along with changes due to line
Remove initialisers with default values from the ASN1 data structures.
Minor changes in generated assembly due to the compiler swapping from .quad 0/.long 0 to .zero, along with changes due to line numbering.
show more ...
|
| #
2c25b402 |
| 11-Feb-2015 |
jsing <jsing@openbsd.org> |
Expand most of the ASN1_SEQUENCE* and associated macros, making the data structures visible and easier to review, without having to wade through layers and layers of asn1t.h macros.
Change has been
Expand most of the ASN1_SEQUENCE* and associated macros, making the data structures visible and easier to review, without having to wade through layers and layers of asn1t.h macros.
Change has been scripted and the generated assembly only differs by changes to line numbers.
Discussed with beck@ miod@ tedu@
show more ...
|
| #
c33941b7 |
| 10-Feb-2015 |
jsing <jsing@openbsd.org> |
The IMPLEMENT_STACK_OF and IMPLEMENT_ASN1_SET_OF macros were turned into noops around 15 years ago. Remove multiple occurances of both that still exist in the code today.
|
| #
589a2d47 |
| 10-Feb-2015 |
jsing <jsing@openbsd.org> |
Manually expand ASN1_ITEM_rptr macros that should have been expanded with the IMPLEMENT_ASN1_DUP_FUNCTION macro.
|
| #
5cfcf2a1 |
| 10-Feb-2015 |
jsing <jsing@openbsd.org> |
Expand the IMPLEMENT_ASN1_DUP_FUNCTION macro so that the code is visible and functions can be readily located.
Change has been scripted and the generated assembly only differs by changes to line num
Expand the IMPLEMENT_ASN1_DUP_FUNCTION macro so that the code is visible and functions can be readily located.
Change has been scripted and the generated assembly only differs by changes to line numbers.
Discussed with beck@ miod@ tedu@
show more ...
|
| #
811ee5a3 |
| 09-Feb-2015 |
jsing <jsing@openbsd.org> |
Expand the IMPLEMENT_ASN1_FUNCTIONS macro so that the code is visible and functions can be readily located.
Change has been scripted and the generated assembly only differs by changes to line number
Expand the IMPLEMENT_ASN1_FUNCTIONS macro so that the code is visible and functions can be readily located.
Change has been scripted and the generated assembly only differs by changes to line numbers.
Discussed with beck@ miod@ tedu@
show more ...
|
| #
0f235645 |
| 12-Jul-2014 |
miod <miod@openbsd.org> |
typos
|