加载webrtc dtls证书时打印日志

This commit is contained in:
xia-chu 2023-10-25 17:09:08 +08:00
parent 2d81c9969c
commit 0d0b32f5e9
2 changed files with 4 additions and 1 deletions

@ -1 +1 @@
Subproject commit 273592b6ba39babe6407021ffc089bfe7328e447
Subproject commit 3fd2b856b6856dd679a32c673431561c0affdd0c

View File

@ -30,6 +30,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <cstring> // std::memcpy(), std::strcmp()
#include "Util/util.h"
#include "Util/SSLBox.h"
#include "Util/SSLUtil.h"
using namespace std;
@ -316,6 +317,8 @@ namespace RTC
goto error;
}
EVP_PKEY_up_ref(privateKey);
InfoL << "Load webrtc dtls certificate: " << toolkit::SSLUtil::getServerName(certificate);
return;
error: