1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Fixed memory allocation bug and typos.

This commit is contained in:
Werner Koch 2006-07-26 11:25:36 +00:00
parent c45f73774d
commit ccd5fc4758
34 changed files with 2784 additions and 2984 deletions

View file

@ -3495,6 +3495,8 @@ gen_card_key_with_backup (int algo, int keyno, int is_primary,
size_t n;
int i;
sk_unprotected = NULL;
sk_protected = NULL;
rc = generate_raw_key (algo, 1024, make_timestamp (),
&sk_unprotected, &sk_protected);
if (rc)