Merge pull request #1807 from nghttp2/nghttpx-add-missing-exit

nghttpx: Add missing DIE()
This commit is contained in:
Tatsuhiro Tsujikawa 2022-09-27 23:13:25 +09:00 committed by GitHub
commit 634e65df64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1082,6 +1082,7 @@ SSL_CTX *create_ssl_context(const char *private_key_file, const char *cert_file,
SSL_FILETYPE_PEM) != 1) {
LOG(FATAL) << "SSL_CTX_use_PrivateKey_file failed: "
<< ERR_error_string(ERR_get_error(), nullptr);
DIE();
}
#else // HAVE_NEVERBLEED
std::array<char, NEVERBLEED_ERRBUF_SIZE> errbuf;
@ -1377,6 +1378,7 @@ SSL_CTX *create_quic_ssl_context(const char *private_key_file,
SSL_FILETYPE_PEM) != 1) {
LOG(FATAL) << "SSL_CTX_use_PrivateKey_file failed: "
<< ERR_error_string(ERR_get_error(), nullptr);
DIE();
}
# else // HAVE_NEVERBLEED
std::array<char, NEVERBLEED_ERRBUF_SIZE> errbuf;