Use different API for reading TLS cert (fixes #64)
authorFelix Morgner <felix.morgner@gmail.com>
Sun, 12 Jul 2015 13:01:07 +0000 (15:01 +0200)
committerFelix Morgner <felix.morgner@gmail.com>
Sun, 12 Jul 2015 13:01:07 +0000 (15:01 +0200)
commit82e80f8f18cbb6fed903621751ba9751dc2b80a2
treea6e83f6edb6ea8c6d4cd9de34a3abc4458137e6e
parent114f6eb19ce92e979e8dfbcbad22196072d0e24c
Use different API for reading TLS cert (fixes #64)

The OpenSSL TLS backend now reads the certificate file using
SSL_CTX_use_certificate_chain_file(...) so that concatenated
certificate files containing a verification chain are read correctly.

Thanks to Andres Erbsen (@andres-erbsen) for reporting the issue.
src/ssli_openssl.c