diff options
Diffstat (limited to 'src/libutil/keypair_private.h')
-rw-r--r-- | src/libutil/keypair_private.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libutil/keypair_private.h b/src/libutil/keypair_private.h index 757dabb6b..96f78bdcd 100644 --- a/src/libutil/keypair_private.h +++ b/src/libutil/keypair_private.h @@ -31,10 +31,10 @@ #include "cryptobox.h" struct RSPAMD_ALIGNED(32) rspamd_http_keypair { - guchar pk[rspamd_cryptobox_PKBYTES]; - guchar RSPAMD_ALIGNED(32) sk[rspamd_cryptobox_SKBYTES]; + guchar RSPAMD_ALIGNED(32) sk[rspamd_cryptobox_MAX_SKBYTES]; + guchar RSPAMD_ALIGNED(32) nm[rspamd_cryptobox_MAX_NMBYTES]; + guchar RSPAMD_ALIGNED(32) pk[rspamd_cryptobox_MAX_PKBYTES]; guchar id[BLAKE2B_OUTBYTES]; - guchar RSPAMD_ALIGNED(32) nm[rspamd_cryptobox_NMBYTES]; gboolean has_nm; ref_entry_t ref; }; |