From: gilles Date: Sat, 19 Apr 2014 16:55:15 +0000 (+0000) Subject: certs are looked up by hostname, the size of the buffer should use the X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=3cb9f58c3d6df1d8ae5c7ba926aa6533754bac77;p=openbsd certs are looked up by hostname, the size of the buffer should use the max hostname len, not max pathname len as before --- diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h index 2a7b9624bff..42e7b884147 100644 --- a/usr.sbin/smtpd/smtpd.h +++ b/usr.sbin/smtpd/smtpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.h,v 1.454 2014/04/09 18:55:19 eric Exp $ */ +/* $OpenBSD: smtpd.h,v 1.455 2014/04/19 16:55:15 gilles Exp $ */ /* * Copyright (c) 2008 Gilles Chehade @@ -1024,7 +1024,7 @@ enum ca_resp_status { struct ca_cert_req_msg { uint64_t reqid; - char name[SMTPD_MAXPATHLEN]; + char name[SMTPD_MAXHOSTNAMELEN]; }; struct ca_cert_resp_msg {