ソースを参照

Use SSL3 so that it is easy to debug with wireshark

master
flowher 11年前
コミット
00bf5ceff4
1個のファイルの変更4行の追加0行の削除
  1. +4
    -0
      server.cpp

+ 4
- 0
server.cpp ファイルの表示

@@ -111,6 +111,10 @@ void Server::doServerSSLInit()
fprintf(stderr, "Private key is invalid.\n");
_exit(1);
}
// set weak protocol, so it is easy to debug with wireshark
SSL_CTX_set_options(_ctx, SSL_OP_NO_TLSv1_2 | SSL_OP_NO_TLSv1_1 | SSL_OP_NO_TLSv1 | SSL_OP_ALL | SSL_OP_SINGLE_DH_USE );
}
void Acceptor::operator()()


読み込み中…
キャンセル
保存