mirror of
https://github.com/libp2p/go-openssl.git
synced 2026-08-19 14:53:28 +08:00
space monkey internal commit export
[katamari commit: 6be5044fddfd394a1b53591add19c02fe1d09c8f]
This commit is contained in:
10
ctx.go
10
ctx.go
@@ -31,16 +31,18 @@ package openssl
|
||||
//#define SSL_OP_NO_COMPRESSION 0
|
||||
//#endif
|
||||
//static const SSL_METHOD *OUR_TLSv1_1_method() {
|
||||
//#ifndef TLSv1_1_method
|
||||
//#ifdef TLS1_1_VERSION
|
||||
// return TLSv1_1_method();
|
||||
//#else
|
||||
// return NULL;
|
||||
//#endif
|
||||
// return TLSv1_1_method();
|
||||
//}
|
||||
//static const SSL_METHOD *OUR_TLSv1_2_method() {
|
||||
//#ifndef TLSv1_2_method
|
||||
//#ifdef TLS1_2_VERSION
|
||||
// return TLSv1_2_method();
|
||||
//#else
|
||||
// return NULL;
|
||||
//#endif
|
||||
// return TLSv1_2_method();
|
||||
//}
|
||||
//
|
||||
//extern int verify_cb(int ok, X509_STORE_CTX* store);
|
||||
|
||||
Reference in New Issue
Block a user