fix for gcc6

pull/4/head
Кириченко Сергей 2017-08-19 10:27:14 +03:00
parent 8d02900470
commit 9d277f657f
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ DISABLE_VS_WARNINGS(4200)
POP_WARNINGS
static inline size_t rs_comm_size(size_t pubs_count) {
return sizeof(rs_comm) + pubs_count * sizeof(rs_comm().ab[0]);
return sizeof(rs_comm) + pubs_count * 2 * sizeof(ec_point);
}
void crypto_ops::generate_ring_signature(const hash &prefix_hash, const key_image &image,