#
acf64401 |
| 05-Jul-2023 |
beck <beck@openbsd.org> |
Hide symbols in asn1 and bio
ok jsing@
|
#
71743258 |
| 26-Dec-2022 |
jmc <jmc@openbsd.org> |
spelling fixes; from paul tagliamonte i removed the arithmetics -> arithmetic changes, as i felt they were not clearly correct
ok tb
|
#
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.
|
#
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@
|
#
e7f1e497 |
| 16-Jul-2015 |
miod <miod@openbsd.org> |
Explicitely cast a char into unsigned long before shifting it left by 24, for this would promote it to int for the shift, and then cast to unsigned long, sign-extending it if sizeof(long) > sizeof(in
Explicitely cast a char into unsigned long before shifting it left by 24, for this would promote it to int for the shift, and then cast to unsigned long, sign-extending it if sizeof(long) > sizeof(int).
This was not a problem because the computed value was explicitely range checked afterwards, with an upper bound way smaller than 1U<<31, but it's better practice to cast correctly.
ok beck@
show more ...
|
#
63f99b2e |
| 12-Oct-2014 |
miod <miod@openbsd.org> |
Paranoia: in ASN1_mbstring_ncopy(), check for len < 0 instead of len == -1, in order to catch all negative sizes.
|
#
028ded29 |
| 21-Sep-2014 |
miod <miod@openbsd.org> |
Fix a memory leak in the error path in ASN1_mbstring_ncopy(). Replace an if() posse with a switch() statement in traverse_string(). Remove unnecessary casts in cpy_*(),
with tweaks from guenther@; o
Fix a memory leak in the error path in ASN1_mbstring_ncopy(). Replace an if() posse with a switch() statement in traverse_string(). Remove unnecessary casts in cpy_*(),
with tweaks from guenther@; ok bcook@ jsing@ guenther@
show more ...
|
#
b6ab114e |
| 11-Jul-2014 |
jsing <jsing@openbsd.org> |
Only import cryptlib.h in the four source files that actually need it. Remove the openssl public includes from cryptlib.h and add a small number of includes into the source files that actually need t
Only import cryptlib.h in the four source files that actually need it. Remove the openssl public includes from cryptlib.h and add a small number of includes into the source files that actually need them. While here, also sort/group/tidy the includes.
ok beck@ miod@
show more ...
|
#
a8913c44 |
| 10-Jul-2014 |
jsing <jsing@openbsd.org> |
Stop including standard headers via cryptlib.h - pull in the headers that are needed in the source files that actually require them.
ok beck@ miod@
|
#
c3d6a26a |
| 12-Jun-2014 |
deraadt <deraadt@openbsd.org> |
tags as requested by miod and tedu
|
#
537292fc |
| 20-May-2014 |
guenther <guenther@openbsd.org> |
Bring UTF8_{getc,putc} up-to-date: it's been a decade since 5- and 6-byte encodings and encoding of surrogate pair code points were banned. Add checks for those, both to those functions and to the c
Bring UTF8_{getc,putc} up-to-date: it's been a decade since 5- and 6-byte encodings and encoding of surrogate pair code points were banned. Add checks for those, both to those functions and to the code decoding the BMP and UNIV encodings.
ok miod@
show more ...
|
#
0f637b92 |
| 26-Apr-2014 |
beck <beck@openbsd.org> |
Replace all use of ERR_add_error_data with ERR_asprintf_error_data. This avoids a lot of ugly gymnastics to do snprintfs before sending the bag of strings to ERR, and eliminates at least one place in
Replace all use of ERR_add_error_data with ERR_asprintf_error_data. This avoids a lot of ugly gymnastics to do snprintfs before sending the bag of strings to ERR, and eliminates at least one place in dso_dlfctn.c where it was being called with the incorrect number of arguments and using random things off the stack as addresses of strings. ok krw@, jsing@
show more ...
|
#
e6464670 |
| 19-Apr-2014 |
jsing <jsing@openbsd.org> |
More KNF.
|
#
5359f6d5 |
| 19-Apr-2014 |
guenther <guenther@openbsd.org> |
We'll interpret a (void) cast on snprintf() to mean it's been verified that truncation is either desirable, not an issue, or is detected and handled later
ok deraadt@
|
#
0cd2744a |
| 18-Apr-2014 |
jsing <jsing@openbsd.org> |
More KNF.
|
#
6f3a6cb1 |
| 17-Apr-2014 |
beck <beck@openbsd.org> |
Change library to use intrinsic memory allocation functions instead of OPENSSL_foo wrappers. This changes: OPENSSL_malloc->malloc OPENSSL_free->free OPENSSL_relloc->realloc OPENSSL_freeFunc->free
|
#
b4148b70 |
| 15-Apr-2014 |
beck <beck@openbsd.org> |
Send the rotIBM stream cipher (ebcdic) to Valhalla to party for eternity with the bearded ones... some API's that nobody should be using will dissapear with this commit.
|
#
ea4b21aa |
| 15-Apr-2014 |
beck <beck@openbsd.org> |
Part 1 of eliminating BIO_snprintf(). This fixes mechanical conversions where the return value is ignored changing to (void) snprintf. ok deraadt@
|
#
0a5d6ede |
| 01-Oct-2010 |
djm <djm@openbsd.org> |
resolve conflicts, fix local changes
|
#
e6841c1d |
| 09-Jan-2009 |
djm <djm@openbsd.org> |
resolve conflicts
|
#
4fcf65c5 |
| 06-Sep-2008 |
djm <djm@openbsd.org> |
resolve conflicts
|
#
6278d030 |
| 08-Apr-2004 |
markus <markus@openbsd.org> |
merge 0.9.7d
|
#
cdc51833 |
| 11-Nov-2003 |
markus <markus@openbsd.org> |
merge 0.9.7c; minor bugsfixes; API addition: ERR_release_err_state_table [make includes before you build libssl/libcrypto]
|
#
bbbc2354 |
| 05-Apr-2003 |
ho <ho@openbsd.org> |
Trivial sprintf() -> snprintf() changes. ok deraadt@
|