7d8045679b931a22407d190016400377ab907115
[librecmc/librecmc-fossil.git] /
1 From d210faa377bcec63876f84b82540b110ede16e57 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Nguy=E1=BB=85n=20H=E1=BB=93ng=20Qu=C3=A2n?=
3  <ng.hong.quan@gmail.com>
4 Date: Mon, 4 Mar 2013 18:14:51 +0700
5 Subject: [PATCH 07/26] OpenPGP: Correct building Extended Header List when
6  importing keys.
7
8 ---
9  src/libopensc/card-openpgp.c | 2 +-
10  1 file changed, 1 insertion(+), 1 deletion(-)
11
12 diff --git a/src/libopensc/card-openpgp.c b/src/libopensc/card-openpgp.c
13 index 7349876..91c311b 100644
14 --- a/src/libopensc/card-openpgp.c
15 +++ b/src/libopensc/card-openpgp.c
16 @@ -1977,7 +1977,7 @@ pgp_build_extended_header_list(sc_card_t *card, sc_cardctl_openpgp_keystore_info
17         u8 *p = NULL;
18         u8 *components[] = {key_info->e, key_info->p, key_info->q, key_info->n};
19         size_t componentlens[] = {key_info->e_len, key_info->p_len, key_info->q_len, key_info->n_len};
20 -       unsigned int componenttags[] = {0x91, 0x92, 0x93, 0x95};
21 +       unsigned int componenttags[] = {0x91, 0x92, 0x93, 0x97};
22         char *componentnames[] = {
23                 "public exponent",
24                 "prime p",
25 -- 
26 2.1.3
27