summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/ssl.h
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2015-12-12 14:40:21 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2015-12-12 14:40:21 +0000
commit35b8f4d18393e2207d1e6851a8f343d274e941f8 (patch)
treecd90760599e1679393aaec94f3da095639c2bdfc /usr.sbin/smtpd/ssl.h
parent0541982d428c33f071e1571a1bbedeaa1509275c (diff)
pki name is a hostname not a path
Diffstat (limited to 'usr.sbin/smtpd/ssl.h')
-rw-r--r--usr.sbin/smtpd/ssl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/ssl.h b/usr.sbin/smtpd/ssl.h
index a3762d002e1..228ed6abc45 100644
--- a/usr.sbin/smtpd/ssl.h
+++ b/usr.sbin/smtpd/ssl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl.h,v 1.14 2015/12/12 11:04:19 gilles Exp $ */
+/* $OpenBSD: ssl.h,v 1.15 2015/12/12 14:40:20 gilles Exp $ */
/*
* Copyright (c) 2013 Gilles Chehade <gilles@poolp.org>
*
@@ -19,7 +19,7 @@
#define SSL_SESSION_TIMEOUT 300
struct pki {
- char pki_name[PATH_MAX];
+ char pki_name[HOST_NAME_MAX+1];
char *pki_ca_file;
char *pki_ca;