DPS_Manage/libssh2/tests/test_auth_pubkey_ok_ed25519.c

22 lines
466 B
C

/* Copyright (C) The libssh2 project and its contributors.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "runner.h"
int test(LIBSSH2_SESSION *session)
{
#if LIBSSH2_ED25519
/* set in Dockerfile */
return test_auth_pubkey(session, 0,
"libssh2",
NULL,
"key_ed25519.pub",
"key_ed25519");
#else
(void)session;
return 0;
#endif
}