Merge pull request #1807 from nghttp2/nghttpx-add-missing-exit
nghttpx: Add missing DIE()
This commit is contained in:
commit
634e65df64
|
@ -1082,6 +1082,7 @@ SSL_CTX *create_ssl_context(const char *private_key_file, const char *cert_file,
|
||||||
SSL_FILETYPE_PEM) != 1) {
|
SSL_FILETYPE_PEM) != 1) {
|
||||||
LOG(FATAL) << "SSL_CTX_use_PrivateKey_file failed: "
|
LOG(FATAL) << "SSL_CTX_use_PrivateKey_file failed: "
|
||||||
<< ERR_error_string(ERR_get_error(), nullptr);
|
<< ERR_error_string(ERR_get_error(), nullptr);
|
||||||
|
DIE();
|
||||||
}
|
}
|
||||||
#else // HAVE_NEVERBLEED
|
#else // HAVE_NEVERBLEED
|
||||||
std::array<char, NEVERBLEED_ERRBUF_SIZE> errbuf;
|
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) {
|
SSL_FILETYPE_PEM) != 1) {
|
||||||
LOG(FATAL) << "SSL_CTX_use_PrivateKey_file failed: "
|
LOG(FATAL) << "SSL_CTX_use_PrivateKey_file failed: "
|
||||||
<< ERR_error_string(ERR_get_error(), nullptr);
|
<< ERR_error_string(ERR_get_error(), nullptr);
|
||||||
|
DIE();
|
||||||
}
|
}
|
||||||
# else // HAVE_NEVERBLEED
|
# else // HAVE_NEVERBLEED
|
||||||
std::array<char, NEVERBLEED_ERRBUF_SIZE> errbuf;
|
std::array<char, NEVERBLEED_ERRBUF_SIZE> errbuf;
|
||||||
|
|
Loading…
Reference in New Issue