Iterate over all certificates in a trusted cert BIO, not just the first (#522)
Iterate over all certificates in a trusted cert BIO, not just the first (#522)

Previously the code which loaded a trusted certificate from file only
assumed that there was a single certificate in that file, meaning that
using a certificate bundle for certificate verification would not work.

This fix allows the driver to read multiple trusted certificates out
of a BIO and provision them in the trusted certificate store.

Co-authored-by: Max Dymond <52ca3e624693635c3d890b12bf77c2303a648acb@metaswitch.com>
datastax/cpp-driver,datastax/cpp-driver,datastax/cpp-driver,datastax/cpp-driver