diff options
author | jsing <> | 2017-07-06 17:12:22 +0000 |
---|---|---|
committer | jsing <> | 2017-07-06 17:12:22 +0000 |
commit | 40916534e3bc6be103b1cf19f2f976ccbed2b4ed (patch) | |
tree | b0d09612d5975b84d46270853c8da03a6d034575 /src/lib/libtls/tls_internal.h | |
parent | a21f0c405df345f9ac6e331f71f09db8e340ca31 (diff) | |
download | openbsd-40916534e3bc6be103b1cf19f2f976ccbed2b4ed.tar.gz openbsd-40916534e3bc6be103b1cf19f2f976ccbed2b4ed.tar.bz2 openbsd-40916534e3bc6be103b1cf19f2f976ccbed2b4ed.zip |
Add support for providing CRLs to libtls - once a CRL is provided we
enable CRL checking for the full certificate chain.
Based on a diff from Jack Burton <jack at saosce dot com dot au>, thanks!
Discussed with beck@
Diffstat (limited to 'src/lib/libtls/tls_internal.h')
-rw-r--r-- | src/lib/libtls/tls_internal.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libtls/tls_internal.h b/src/lib/libtls/tls_internal.h index c0c55216df..bed9d6e7f4 100644 --- a/src/lib/libtls/tls_internal.h +++ b/src/lib/libtls/tls_internal.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls_internal.h,v 1.61 2017/06/22 18:03:57 jsing Exp $ */ | 1 | /* $OpenBSD: tls_internal.h,v 1.62 2017/07/06 17:12:22 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Jeremie Courreges-Anglas <jca@openbsd.org> | 3 | * Copyright (c) 2014 Jeremie Courreges-Anglas <jca@openbsd.org> |
4 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 4 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
@@ -84,6 +84,8 @@ struct tls_config { | |||
84 | size_t ca_len; | 84 | size_t ca_len; |
85 | const char *ciphers; | 85 | const char *ciphers; |
86 | int ciphers_server; | 86 | int ciphers_server; |
87 | char *crl_mem; | ||
88 | size_t crl_len; | ||
87 | int dheparams; | 89 | int dheparams; |
88 | int ecdhecurve; | 90 | int ecdhecurve; |
89 | struct tls_keypair *keypair; | 91 | struct tls_keypair *keypair; |