diff --git a/docs/libssh2_userauth_publickey_fromfile_ex.3 b/docs/libssh2_userauth_publickey_fromfile_ex.3 index 6c7b7cfd..00c72d1d 100644 --- a/docs/libssh2_userauth_publickey_fromfile_ex.3 +++ b/docs/libssh2_userauth_publickey_fromfile_ex.3 @@ -40,12 +40,11 @@ LIBSSH2_ERROR_EAGAIN is a negative number, it isn't really a failure per se. \fILIBSSH2_ERROR_SOCKET_TIMEOUT\fP - -\fILIBSSH2_ERROR_AUTHENTICATION_FAILED\fP - >The username/public key +\fILIBSSH2_ERROR_PUBLICKEY_UNVERIFIED\fP - The username/public key combination was invalid. -\fILIBSSH2_ERROR_PUBLICKEY_UNVERIFIED\fP - The username/public key -combination was invalid, or the signature for the supplied public -key was invalid. +\fILIBSSH2_ERROR_AUTHENTICATION_FAILED\fP - Authentication using the supplied +public key was not accepted. .SH SEE ALSO .BR libssh2_session_init_ex(3)