aboutsummaryrefslogtreecommitdiffstats
path: root/src/bogo_shim/bogo_shim.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-05-24 08:31:56 -0400
committerJack Lloyd <[email protected]>2019-05-24 08:31:56 -0400
commit92c06e93aa870f76ff3d8c126e47c0cd4ccdad66 (patch)
tree81546311bfb591ea917b5675ed133ad904b25db5 /src/bogo_shim/bogo_shim.cpp
parent59e13d195b0ee76bc166504cdbed81a1243dd3f2 (diff)
Allow servers to prohibit renegotiation with fatal alert
Diffstat (limited to 'src/bogo_shim/bogo_shim.cpp')
-rw-r--r--src/bogo_shim/bogo_shim.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bogo_shim/bogo_shim.cpp b/src/bogo_shim/bogo_shim.cpp
index 5e2e15dbe..049c9dc2f 100644
--- a/src/bogo_shim/bogo_shim.cpp
+++ b/src/bogo_shim/bogo_shim.cpp
@@ -134,6 +134,7 @@ std::string map_to_bogo_error(const std::string& e)
{ "Server changed its mind about secure renegotiation", ":RENEGOTIATION_MISMATCH:" },
{ "Server changed version after renegotiation", ":WRONG_SSL_VERSION:" },
{ "Server downgraded version after renegotiation", ":WRONG_SSL_VERSION:" },
+ { "Server policy prohibits renegotiation", ":NO_RENEGOTIATION:" },
{ "Server replied using a ciphersuite not allowed in version it offered", ":WRONG_CIPHER_RETURNED:" },
{ "Server replied with DTLS-SRTP alg we did not send", ":BAD_SRTP_PROTECTION_PROFILE_LIST:" },
{ "Server replied with ciphersuite we didn't send", ":WRONG_CIPHER_RETURNED:" },