aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/ldap-parse-uri.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2023-10-05 08:02:59 +0000
committerWerner Koch <[email protected]>2023-10-05 08:25:14 +0000
commitc1f78634ec3927ddcfdc4687bc6e408c658a0ece (patch)
tree2edb7f0d8d0e11e2d4e601b282ff6fb48c1dea90 /dirmngr/ldap-parse-uri.c
parentagent: Fix agent_update_private_key. (diff)
downloadgnupg-c1f78634ec3927ddcfdc4687bc6e408c658a0ece.tar.gz
gnupg-c1f78634ec3927ddcfdc4687bc6e408c658a0ece.zip
sm: Improve the octet string cramming for pkcs#12
* sm/minip12.c (need_octet_string_cramming): New. (tlv_expect_object, tlv_expect_octet_string): Run the test before cramming. * sm/minip12.c (ENABLE_DER_STRUCT_DUMPING): New but undefined macro for debug purposes. (bag_decrypted_data_p, bag_data_p): Use macro to allow dumping. -- This bug was exhibited by importing a gpgsm exported EC certificate. We use an extra test instead of retrying to allow retruning an error from malloc failure. And well, for easier reading of the code. GnuPG-bug-id: 6536
Diffstat (limited to 'dirmngr/ldap-parse-uri.c')
0 files changed, 0 insertions, 0 deletions