MCPcopy Create free account
hub / github.com/SFML/SFML / tlsErrorString

Function tlsErrorString

src/SFML/Network/TcpSocket.cpp:80–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78#endif
79
80std::string tlsErrorString(int errnum)
81{
82 std::array<char, 1024> buffer{};
83 mbedtls_strerror(errnum, buffer.data(), buffer.size());
84 return buffer.data();
85}
86
87bool loadSystemCertificates([[maybe_unused]] mbedtls_x509_crt* x509crt, [[maybe_unused]] mbedtls_x509_crl* x509crl)
88{

Callers 4

loadSystemCertificatesFunction · 0.85
MbedTlsSharedStateMethod · 0.85
setupTlsMethod · 0.85
disconnectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected