]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix hex conversion of PKINIT certid strings
authorSumit Bose <sbose@redhat.com>
Fri, 26 Jan 2018 16:47:50 +0000 (11:47 -0500)
committerGreg Hudson <ghudson@mit.edu>
Wed, 7 Mar 2018 15:57:01 +0000 (10:57 -0500)
commit63e8b8142fd7b3931a7bf2d6448978ca536bafc0
tree976e89d569a74470a3cc3b803d09a6d854db6740
parent78a09d95dff6915da4079bc611f4bb95f6a95f70
Fix hex conversion of PKINIT certid strings

When parsing a PKCS11 token specification, correctly convert from hex
to binary instead of using OpenSSL bignum functions (which would strip
leading zeros).

[ghudson@mit.edu: made hex_string_to_bin() a bit less verbose; wrote
commit message]

ticket: 8636
src/plugins/preauth/pkinit/pkinit_crypto_openssl.c