DPS_Manage/libssh2/tests/test_auth_pubkey_fail.c

16 lines
450 B
C

/* Copyright (C) The libssh2 project and its contributors.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "runner.h"
int test(LIBSSH2_SESSION *session)
{
return test_auth_pubkey(session, TEST_AUTH_SHOULDFAIL,
"libssh2", /* set in Dockerfile */
NULL,
"key_dsa_wrong.pub", /* Not authorized on server */
"key_dsa_wrong");
}