Treat caCertificate as base64-encoded DER rather than PEM trust-anchor
authorKevin Wasserman <kevin.wasserman@painless-security.com>
Thu, 12 Jun 2014 15:09:55 +0000 (11:09 -0400)
committerKevin Wasserman <kevin.wasserman@painless-security.com>
Thu, 12 Jun 2014 15:09:55 +0000 (11:09 -0400)
commit531f00e3e3053b94d302b57a98c1b96dde782cc5
treed88d95a90c307bf44c1de045176e5f21b61d45fe
parentc60f01478942ed0c2a2c6d44ee6728445f72961f
Treat caCertificate as base64-encoded DER rather than PEM

Openssl's pem parser is very picky and requires newlines.
Moonshot-webp eats newlines from the raw xml, requiring
hand-placed '&#10;' for successful parsing, which is
undersirable. So instead use glib's g_base64_decode() to
convert caCertificate to DER.
configure.ac
mech_eap/Makefile.am
mech_eap/util_moonshot.c