1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00
Commit Graph

23 Commits

Author SHA1 Message Date
jsing
1d51f822e3 Move most of the fields in SSL_CTX to internal - the ones that remain are
known to be in use.

ok beck@
2017-01-23 05:13:02 +00:00
jsing
b7f7365c22 Move callback function pointers and argument pointers from SSL_CTX to
internal.

ok beck@
2017-01-23 04:15:28 +00:00
mmcc
0ce686e5e4 X509_free(3) is NULL-safe, so remove NULL checks before its calls.
ok doug@
2016-03-11 07:08:44 +00:00
reyk
642f72f1c1 Rename SSL_CTX_use_certificate_chain() to SSL_CTX_use_certificate_chain_mem().
As discussed with beck@ jsing@ and others
OK beck@
2015-02-06 01:37:11 +00:00
jsing
265bd06d02 Remove trailing whitespace. 2014-12-14 15:30:50 +00:00
jsing
c5899dbc08 Sort and group includes. 2014-11-16 14:12:47 +00:00
reyk
5e89dc0d88 Add a new API function SSL_CTX_use_certificate_chain() that allows to
read the PEM-encoded certificate chain from memory instead of a file.
This idea is derived from an older implementation in relayd that was
needed to use the function with a privep'ed process in a chroot.  Now
it is time to get it into LibreSSL to make the API more privsep-
friendly and to make it available for other programs and the ressl
library.

ok jsing@ miod@
2014-09-28 14:45:48 +00:00
miod
6d04a7b1e8 if (x) FOO_free(x) -> FOO_free(x).
Improves readability, keeps the code smaller so that it is warmer in your
cache.

review & ok deraadt@
2014-07-12 16:03:36 +00:00
guenther
790a986dcb KNF, particularly wrapped lines of calls to PEM_read_bio_FOO() and
multiline comments

ok jsing@
2014-06-22 19:09:37 +00:00
deraadt
c3d6a26af7 tags as requested by miod and tedu 2014-06-12 15:49:27 +00:00
jsing
73c984695c BIO_free has an implicit NULL check, so do not bother checking for NULL
before calling it.
2014-06-07 14:35:31 +00:00
beck
0057b87e06 Any sane platform has stdio. Stop pretending we will ever use a platform
that does not.
"fire bomb" tedu@
2014-05-29 18:27:52 +00:00
tedu
f9cd3d1023 always build in RSA and DSA. ok deraadt miod 2014-04-17 21:37:37 +00:00
jsing
35fb06776c First pass at applying KNF to the OpenSSL code, which almost makes it
readable. This pass is whitespace only and can readily be verified using
tr and md5.
2014-04-14 13:10:35 +00:00
miod
97222edd40 Merge conflicts; remove MacOS, Netware, OS/2, VMS and Windows build machinery. 2014-04-13 15:25:20 +00:00
djm
0a5d6eded2 resolve conflicts, fix local changes 2010-10-01 22:58:41 +00:00
djm
4fcf65c5c5 resolve conflicts 2008-09-06 12:17:47 +00:00
djm
40d8aef356 resolve conflicts 2005-04-29 05:39:09 +00:00
markus
cdc51833b6 merge 0.9.7c; minor bugsfixes;
API addition: ERR_release_err_state_table
[make includes before you build libssl/libcrypto]
2003-11-11 22:15:18 +00:00
markus
1f9308f95c merge openssl-0.9.7-beta3, tested on vax by miod@ 2002-09-10 16:31:53 +00:00
beck
da347917d3 OpenSSL 0.9.7 stable 2002 05 08 merge 2002-05-15 02:29:01 +00:00
beck
913ec97426 OpenSSL 0.9.4 merge 1999-09-29 04:35:07 +00:00
ryker
5b37fcf34e 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.
1998-10-05 20:12:28 +00:00