libssh2_userauth_list() requires the lenght of the username to be passed, and not the sizeof() the array holding it.
libssh2_userauth_list() requires the lenght of the username to be passed,
and not the sizeof() the array holding it.

libssh2/libssh2,libssh2/libssh2,libssh2/libssh2,libssh2/libssh2