31 return new MbedTls::LibraryImp( library_config , log_fn , verbose ) ;
36 return new OpenSSL::LibraryImp( library_config , log_fn , verbose ) ;
40 std::string
GSsl::Library::credit(
const std::string & prefix ,
const std::string & eol ,
const std::string & eot )
43 OpenSSL::LibraryImp::credit( prefix , eol , eol ) +
44 MbedTls::LibraryImp::credit( prefix , eol , eot ) ;
49 return OpenSSL::LibraryImp::sid() +
", " + MbedTls::LibraryImp::sid() ;
An interface to an underlying TLS library.
std::vector< std::string > StringArray
A std::vector of std::strings.
static bool enabled()
Returns true if test features are enabled.
static bool consume(G::StringArray &list, const std::string &item)
A convenience function that removes the item from the list and returns true iff is was removed...
A base interface for GSsl::Library pimple classes.
static std::string credit(const std::string &prefix, const std::string &eol, const std::string &eot)
Returns a multi-line library credit for all available TLS libraries.
static std::string ids()
Returns a concatenation of all available TLS library names and versions.