|
From d210faa377bcec63876f84b82540b110ede16e57 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Nguy=E1=BB=85n=20H=E1=BB=93ng=20Qu=C3=A2n?=
|
|
<ng.hong.quan@gmail.com>
|
|
Date: Mon, 4 Mar 2013 18:14:51 +0700
|
|
Subject: [PATCH 07/26] OpenPGP: Correct building Extended Header List when
|
|
importing keys.
|
|
|
|
---
|
|
src/libopensc/card-openpgp.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: opensc-20150513/src/libopensc/card-openpgp.c
|
|
===================================================================
|
|
--- opensc-20150513.orig/src/libopensc/card-openpgp.c
|
|
+++ opensc-20150513/src/libopensc/card-openpgp.c
|
|
@@ -1988,7 +1988,7 @@ pgp_build_extended_header_list(sc_card_t
|
|
u8 *p = NULL;
|
|
u8 *components[] = {key_info->e, key_info->p, key_info->q, key_info->n};
|
|
size_t componentlens[] = {key_info->e_len, key_info->p_len, key_info->q_len, key_info->n_len};
|
|
- unsigned int componenttags[] = {0x91, 0x92, 0x93, 0x95};
|
|
+ unsigned int componenttags[] = {0x91, 0x92, 0x93, 0x97};
|
|
char *componentnames[] = {
|
|
"public exponent",
|
|
"prime p",
|