diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2019-06-05 06:40:14 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2019-06-05 06:40:14 +0000 |
commit | c721df2cebecf2c16f27d599c4712cf6dcb98ba5 (patch) | |
tree | e23e837842071a6efc0f32528f0264c68e7cd359 /usr.sbin/smtpd/smtpd.h | |
parent | 0f036f0658db45187a756f457df61b42251b0f6f (diff) |
a long long time ago, in a galaxy quite close actually, reyk@ introduced an
RSA privsep engine to isolate private keys in the ca process. ECDSA support
in smtpd is become a frequent request so here's an ECDSA privsep engine and
the code required for smtpd to load ECDSA certificates and use them.
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-rw-r--r-- | usr.sbin/smtpd/smtpd.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h index 46a4e6af4f6..7bc3691f23b 100644 --- a/usr.sbin/smtpd/smtpd.h +++ b/usr.sbin/smtpd/smtpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.h,v 1.621 2019/04/08 08:22:32 eric Exp $ */ +/* $OpenBSD: smtpd.h,v 1.622 2019/06/05 06:40:13 gilles Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@poolp.org> @@ -327,8 +327,9 @@ enum imsg_type { IMSG_FILTER_SMTP_DATA_BEGIN, IMSG_FILTER_SMTP_DATA_END, - IMSG_CA_PRIVENC, - IMSG_CA_PRIVDEC + IMSG_CA_RSA_PRIVENC, + IMSG_CA_RSA_PRIVDEC, + IMSG_CA_ECDSA_SIGN, }; enum smtp_proc_type { |