diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2018-11-06 20:34:55 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2018-11-06 20:34:55 +0000 |
commit | 4b16bf99cbf7a7ddd77bbe7ce895f6d5eca15a43 (patch) | |
tree | bc1344662c79542ab9f66e1c7a10c28b90530ef6 /lib/libtls/tls.h | |
parent | 09ae7e8bf32aa590fdf4641e0edf56a003af99f4 (diff) |
Define TLS_CA_CERT_FILE rather than having every application create their
own define for /etc/ssl/cert.pem.
ok beck@ bluhm@ tb@
Diffstat (limited to 'lib/libtls/tls.h')
-rw-r--r-- | lib/libtls/tls.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libtls/tls.h b/lib/libtls/tls.h index 9f5379e65ef..1b2d2c954cc 100644 --- a/lib/libtls/tls.h +++ b/lib/libtls/tls.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tls.h,v 1.53 2018/02/10 04:58:08 jsing Exp $ */ +/* $OpenBSD: tls.h,v 1.54 2018/11/06 20:34:54 jsing Exp $ */ /* * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> * @@ -29,6 +29,8 @@ extern "C" { #define TLS_API 20180210 +#define TLS_CA_CERT_FILE "/etc/ssl/cert.pem" + #define TLS_PROTOCOL_TLSv1_0 (1 << 1) #define TLS_PROTOCOL_TLSv1_1 (1 << 2) #define TLS_PROTOCOL_TLSv1_2 (1 << 3) |