mirror of https://gitee.com/openkylin/libssh2.git
17 lines
346 B
C
17 lines
346 B
C
|
#include "runner.h"
|
||
|
|
||
|
int test(LIBSSH2_SESSION *session)
|
||
|
{
|
||
|
#if LIBSSH2_DSA
|
||
|
/* set in Dockerfile */
|
||
|
return test_auth_pubkey(session, 0,
|
||
|
"libssh2",
|
||
|
NULL,
|
||
|
"key_dsa.pub",
|
||
|
"key_dsa");
|
||
|
#else
|
||
|
(void)session;
|
||
|
return 0;
|
||
|
#endif
|
||
|
}
|