diff options
author | Werner Koch <wk@gnupg.org> | 1999-06-15 14:31:07 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1999-06-15 14:31:07 +0200 |
commit | 9da1694e19fda1559c35c654430b78d26ce0b272 (patch) | |
tree | 61b4a7432d03cb6f2123cb295600beb57e3d2271 /g10/parse-packet.c | |
parent | See ChangeLog: Thu Jun 10 14:18:23 CEST 1999 Werner Koch (diff) | |
download | gnupg2-9da1694e19fda1559c35c654430b78d26ce0b272.tar.xz gnupg2-9da1694e19fda1559c35c654430b78d26ce0b272.zip |
See ChangeLog: Tue Jun 15 14:23:10 CEST 1999 Werner Koch
Diffstat (limited to 'g10/parse-packet.c')
-rw-r--r-- | g10/parse-packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/parse-packet.c b/g10/parse-packet.c index 16332ed24..730386cc2 100644 --- a/g10/parse-packet.c +++ b/g10/parse-packet.c @@ -640,7 +640,7 @@ parse_pubkeyenc( IOBUF inp, int pkttype, unsigned long pktlen, PACKET *packet ) int i, ndata; PKT_pubkey_enc *k; - k = packet->pkt.pubkey_enc = m_alloc(sizeof *packet->pkt.pubkey_enc ); + k = packet->pkt.pubkey_enc = m_alloc_clear(sizeof *packet->pkt.pubkey_enc); if( pktlen < 12 ) { log_error("packet(%d) too short\n", pkttype); goto leave; |