mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
common: Fix parsing ECC key.
* common/sexputil.c (get_ecc_q_from_canon_sexp): Initialize ECC_Q_LEN. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
3cf5fc2e2f
commit
698caf30b9
@ -614,7 +614,7 @@ get_ecc_q_from_canon_sexp (const unsigned char *keydata, size_t keydatalen,
|
|||||||
size_t buflen, toklen;
|
size_t buflen, toklen;
|
||||||
int depth, last_depth1, last_depth2;
|
int depth, last_depth1, last_depth2;
|
||||||
const unsigned char *ecc_q = NULL;
|
const unsigned char *ecc_q = NULL;
|
||||||
size_t ecc_q_len;
|
size_t ecc_q_len = 0;
|
||||||
|
|
||||||
*r_q = NULL;
|
*r_q = NULL;
|
||||||
*r_qlen = 0;
|
*r_qlen = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user