Internal TLS: Add support for unencrypred PKCS#8 private keys in PEM
authorJouni Malinen <j@w1.fi>
Fri, 16 Oct 2009 19:00:45 +0000 (22:00 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 16 Oct 2009 19:00:45 +0000 (22:00 +0300)
commit8ef74414fc6c21193221f30f5486e76120a07562
tree431159f6a3c82c7efa1968db5971e69d9ba9c8e5
parent385f16c6114500e9a2287058f99f6c3da3e949ad
Internal TLS: Add support for unencrypred PKCS#8 private keys in PEM

Recognize the PEM header "BEGIN PRIVATE KEY" as base64-decode the data
to be able to use PEM encoded, unencrypted PKCS#8 private keys with the
internal TLS implementation. Previously, only DER encoding of the
PKCS#8 private key was supported.
src/tls/tlsv1_cred.c