On Thu, May 25, 2023 at 11:18:00AM +0200, Omar Polo wrote: > both values have been unused for quite some time. last PROC_COUNT use > was removed in 'Implement the fork+exec pattern in smtpd' by eric@ in > 2016. > > I've checked the other #defines and they seem to be all used, except > these two. > > ok?
ok. The last CA_FILE use was removed with cert.c two years ago. > > diff /usr/src > commit - 6f5cff98d90c274a5222db1a9bd17d5c26da7920 > path + /usr/src > blob - 125a6a5dfbe176065b9fb3835363ed47d32a94ae > file + usr.sbin/smtpd/smtpd.h > --- usr.sbin/smtpd/smtpd.h > +++ usr.sbin/smtpd/smtpd.h > @@ -45,10 +45,7 @@ > > #define CONF_FILE "/etc/mail/smtpd.conf" > #define MAILNAME_FILE "/etc/mail/mailname" > -#define CA_FILE "/etc/ssl/cert.pem" > > -#define PROC_COUNT 7 > - > #define MAX_HOPS_COUNT 100 > #define DEFAULT_MAX_BODY_SIZE (35*1024*1024) > >