aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcryptobox/keypair_private.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-06 13:13:30 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-06 13:13:30 +0000
commit07b0348c09572417d7b3f9511e32c8392b9ee0d7 (patch)
tree521416ceeab54ff80be533888bedbe5309bcb06c /src/libcryptobox/keypair_private.h
parent2f54afd919dd4ac809a7ed7557d703b69660cdf4 (diff)
downloadrspamd-07b0348c09572417d7b3f9511e32c8392b9ee0d7.tar.gz
rspamd-07b0348c09572417d7b3f9511e32c8392b9ee0d7.zip
NIST p256 pubkey is 65 bytes length
Diffstat (limited to 'src/libcryptobox/keypair_private.h')
-rw-r--r--src/libcryptobox/keypair_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcryptobox/keypair_private.h b/src/libcryptobox/keypair_private.h
index 59071e318..d91d1c68e 100644
--- a/src/libcryptobox/keypair_private.h
+++ b/src/libcryptobox/keypair_private.h
@@ -65,7 +65,7 @@ struct RSPAMD_ALIGNED(32) rspamd_cryptobox_keypair_25519 {
struct RSPAMD_ALIGNED(32) rspamd_cryptobox_keypair_sig_nist {
struct rspamd_cryptobox_keypair parent;
guchar RSPAMD_ALIGNED(32) sk[32];
- guchar RSPAMD_ALIGNED(32) pk[32];
+ guchar RSPAMD_ALIGNED(32) pk[65];
};
/*