]> granicus.if.org Git - pdns/commit
Remove three bytes from PKCS#11 ECPoint string
authorAki Tuomi <cmouse@cmouse.fi>
Sat, 16 May 2015 20:44:49 +0000 (23:44 +0300)
committerAki Tuomi <cmouse@cmouse.fi>
Sun, 17 May 2015 17:24:03 +0000 (20:24 +0300)
commit432808be7bf348726f96b58e926777f4ca0dde59
tree6984e97af4b978ec367e864ff1117196a51f7d02
parentba4d62335dd0418ed7b4569a19ceef8406991832
Remove three bytes from PKCS#11 ECPoint string

The CKA_EC_POINT is defined as 'DER encoded X9.62 octet string',
which means it has DER preamble and also compression indicator.
So we remove these from the result string, and pass it along,
to get valid ECPoint value for DNS use.
pdns/pkcs11signers.cc