Replace 'inacceptable' with the more common 'unacceptable'
This commit is contained in:
@@ -188,7 +188,7 @@ static status_t process_server_hello(private_tls_peer_t *this,
|
||||
suite = cipher;
|
||||
if (!this->crypto->select_cipher_suite(this->crypto, &suite, 1, KEY_ANY))
|
||||
{
|
||||
DBG1(DBG_TLS, "received TLS cipher suite %N inacceptable",
|
||||
DBG1(DBG_TLS, "received TLS cipher suite %N unacceptable",
|
||||
tls_cipher_suite_names, suite);
|
||||
this->alert->add(this->alert, TLS_FATAL, TLS_HANDSHAKE_FAILURE);
|
||||
return NEED_MORE;
|
||||
|
||||
@@ -190,7 +190,7 @@ static bool select_suite_and_key(private_tls_server_t *this,
|
||||
suites, count, type);
|
||||
if (!this->suite)
|
||||
{
|
||||
DBG1(DBG_TLS, "received cipher suites inacceptable");
|
||||
DBG1(DBG_TLS, "received cipher suites unacceptable");
|
||||
return FALSE;
|
||||
}
|
||||
this->server_auth->destroy(this->server_auth);
|
||||
@@ -199,7 +199,7 @@ static bool select_suite_and_key(private_tls_server_t *this,
|
||||
this->server_auth);
|
||||
if (!key)
|
||||
{
|
||||
DBG1(DBG_TLS, "received cipher suites inacceptable");
|
||||
DBG1(DBG_TLS, "received cipher suites unacceptable");
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user