#
ffc1d37c |
| 27-Jan-2025 |
tb <tb@openbsd.org> |
x509_obj.c: be better at sorting
|
#
819724e5 |
| 26-Jan-2025 |
tb <tb@openbsd.org> |
x509_obj.c: fix includes
|
#
2321e207 |
| 26-Jan-2025 |
tb <tb@openbsd.org> |
Rewrite X509_NAME_ENTRY_oneline() using CBB and CBS
This splits the horrid spaghetti into a few relatively straightforward helpers which do one thing at a time. There are still some spectacular danc
Rewrite X509_NAME_ENTRY_oneline() using CBB and CBS
This splits the horrid spaghetti into a few relatively straightforward helpers which do one thing at a time. There are still some spectacular dances around ASN1_GENERALSTRING, but let's blame that one on X.500.
In brief, X509_NAME_ENTRY_oneline() iterates over the name entries, and writes out a line /name1=value1,/name2=value2,... which you may have seen variations of in issuer or subject output.
The name is the short name or the long name or the textual representation of the OID (truncated to 79 characters) and the value is a string where printable ASCII characters are represented as themselves and otherwise as hexadecimal digits preceded by \x. Except for GENERALSTRING, where the four octet representation is shortened to single-octet representation if none of the top three octets in the entire string is populated.
It's the mother of all pretty things. But, hey, you could do worse and try to parse this garbage...
ok jsing
show more ...
|
#
cedac418 |
| 16-Feb-2023 |
tb <tb@openbsd.org> |
libressl *_namespace.h: adjust *_ALIAS() to require a semicolon
LCRYPTO_ALIAS() and LSSL_ALIAS() contained a trailing semicolon. This does not conform to style(9), breaks editors and ctags and (most
libressl *_namespace.h: adjust *_ALIAS() to require a semicolon
LCRYPTO_ALIAS() and LSSL_ALIAS() contained a trailing semicolon. This does not conform to style(9), breaks editors and ctags and (most importantly) my workflow. Fix this by neutering them with asm("") so that -Wpedantic doesn't complain. There's precedent in libc's namespace.h
fix suggested by & ok jsing
show more ...
|
#
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 ...
|
#
06d31337 |
| 14-Nov-2022 |
beck <beck@openbsd.org> |
Hide public symbols in libcrypto/x509 .c files
ok tb@
|
#
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 ...
|
#
89deeab9 |
| 18-May-2018 |
tb <tb@openbsd.org> |
Add const to the 'name' argument of X509_NAME_oneline(3).
tested in a bulk build by sthen ok jsing
|
#
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@
|
#
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@
|
#
3372276c |
| 10-Jul-2014 |
tedu <tedu@openbsd.org> |
delete some casts. ok miod
|
#
c3d6a26a |
| 12-Jun-2014 |
deraadt <deraadt@openbsd.org> |
tags as requested by miod and tedu
|
#
62dca252 |
| 20-Apr-2014 |
jsing <jsing@openbsd.org> |
More KNF.
|
#
909a0009 |
| 20-Apr-2014 |
jsing <jsing@openbsd.org> |
KNF.
|
#
7609e5c6 |
| 18-Apr-2014 |
tedu <tedu@openbsd.org> |
blunt force 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
|
#
78e6ae94 |
| 16-Apr-2014 |
beck <beck@openbsd.org> |
Clean up dangerous strncpy use. This included a use where the resulting string was potentially not nul terminated and a place where malloc return was unchecked. while we're at it remove dummytest.c o
Clean up dangerous strncpy use. This included a use where the resulting string was potentially not nul terminated and a place where malloc return was unchecked. while we're at it remove dummytest.c ok miod@
show more ...
|
#
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.
|
#
0a5d6ede |
| 01-Oct-2010 |
djm <djm@openbsd.org> |
resolve conflicts, fix local changes
|
#
da347917 |
| 15-May-2002 |
beck <beck@openbsd.org> |
OpenSSL 0.9.7 stable 2002 05 08 merge
|
#
200c0290 |
| 01-Aug-2001 |
beck <beck@openbsd.org> |
merge openssl 0.9.6b-engine
Note that this is a maintenence release, API's appear *not* to have changed. As such, I have only increased the minor number on these libraries
|
#
c109e398 |
| 15-Dec-2000 |
beck <beck@openbsd.org> |
openssl-engine-0.9.6 merge
|
#
913ec974 |
| 29-Sep-1999 |
beck <beck@openbsd.org> |
OpenSSL 0.9.4 merge
|
#
5b37fcf3 |
| 05-Oct-1998 |
ryker <ryker@openbsd.org> |
Import of SSLeay-0.9.0b with RSA and IDEA stubbed + OpenBSD build functionality for shared libs.
Note that routines such as sslv2_init and friends that use RSA will not work due to lack of RSA in th
Import of SSLeay-0.9.0b with RSA and IDEA stubbed + OpenBSD build functionality for shared libs.
Note that routines such as sslv2_init and friends that use RSA will not work due to lack of RSA in this library.
Needs documentation and help from ports for easy upgrade to full functionality where legally possible.
show more ...
|