MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / SSL_get_version

Function SSL_get_version

extra/yassl/src/ssl.cpp:570–576  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

568
569
570const char* SSL_get_version(SSL* ssl)
571{
572 static const char* version3 = "SSLv3";
573 static const char* version31 = "TLSv1";
574
575 return ssl->isTLS() ? version31 : version3;
576}
577
578const char* SSLeay_version(int)
579{

Callers

nothing calls this directly

Calls 1

isTLSMethod · 0.80

Tested by

no test coverage detected