GUAC-974: Auth key failures should abort as UNAUTHORIZED.

This commit is contained in:
Michael Jumper 2015-01-04 19:17:40 -08:00
parent b35d8dd8b2
commit 0b0c2aae93

View File

@ -385,7 +385,9 @@ void* ssh_client_thread(void* data) {
/* If still failing, give up */
if (client_data->key == NULL) {
guac_client_log(client, GUAC_LOG_ERROR, "Auth key import failed.");
guac_client_abort(client,
GUAC_PROTOCOL_STATUS_CLIENT_UNAUTHORIZED,
"Auth key import failed.");
return NULL;
}