diff options
author | Jan Moskyto Matejka <mq@ucw.cz> | 2016-12-07 14:15:35 +0100 |
---|---|---|
committer | Jan Moskyto Matejka <mq@ucw.cz> | 2016-12-07 14:15:35 +0100 |
commit | af62c0f9f1f6382fe88c8ae5e514f70c0b5b6d05 (patch) | |
tree | 49c82267598c92cc758203f8ed06d822c6c2deb2 /proto/rpki/packets.c | |
parent | cdbe1defa4b783715ed29d8d253a55d3efe0b9ed (diff) |
LibSSH may be switched off together with RPKI
Diffstat (limited to 'proto/rpki/packets.c')
-rw-r--r-- | proto/rpki/packets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/rpki/packets.c b/proto/rpki/packets.c index c80343c5..22b0b54f 100644 --- a/proto/rpki/packets.c +++ b/proto/rpki/packets.c @@ -1019,7 +1019,7 @@ rpki_send_error_pdu(struct rpki_cache *cache, const enum pdu_error_type error_co u32 pdu_size = 16 + err_pdu_len + msg_len; byte pdu[pdu_size]; - memset(pdu, sizeof(pdu), 0); + memset(pdu, 0, sizeof(pdu)); struct pdu_error *e = (void *) pdu; e->ver = cache->version; |