Use pointer for rs_comm_size
This commit is contained in:
parent
4a2da94cd0
commit
084594c3d8
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ namespace Crypto {
|
|||
};
|
||||
|
||||
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 * sizeof(((rs_comm*)0)->ab[0]);
|
||||
}
|
||||
|
||||
void crypto_ops::generate_ring_signature(const Hash &prefix_hash, const KeyImage &image,
|
||||
|
|
Loading…
Reference in a new issue