mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Avoid using the protect-tool to import pkcs#12.
This commit is contained in:
parent
28b3b74cbb
commit
006fd75aea
24 changed files with 1167 additions and 414 deletions
|
@ -59,7 +59,7 @@ init_membuf_secure (membuf_t *mb, int initiallen)
|
|||
void
|
||||
put_membuf (membuf_t *mb, const void *buf, size_t len)
|
||||
{
|
||||
if (mb->out_of_core)
|
||||
if (mb->out_of_core || !len)
|
||||
return;
|
||||
|
||||
if (mb->len + len >= mb->size)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue