You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
1.0 KiB

  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. src/libopensc/card-openpgp.c | 2 +-
  9. 1 file changed, 1 insertion(+), 1 deletion(-)
  10. Index: opensc-20150513/src/libopensc/card-openpgp.c
  11. ===================================================================
  12. --- opensc-20150513.orig/src/libopensc/card-openpgp.c
  13. +++ opensc-20150513/src/libopensc/card-openpgp.c
  14. @@ -1988,7 +1988,7 @@ pgp_build_extended_header_list(sc_card_t
  15. u8 *p = NULL;
  16. u8 *components[] = {key_info->e, key_info->p, key_info->q, key_info->n};
  17. size_t componentlens[] = {key_info->e_len, key_info->p_len, key_info->q_len, key_info->n_len};
  18. - unsigned int componenttags[] = {0x91, 0x92, 0x93, 0x95};
  19. + unsigned int componenttags[] = {0x91, 0x92, 0x93, 0x97};
  20. char *componentnames[] = {
  21. "public exponent",
  22. "prime p",