From 41d22ccf267a1d65e0809f7f1a9a6d443eebb1d6 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 15 Mar 2015 12:04:10 +0100 Subject: [PATCH] userauth_publickey_frommemory.3: add AVAILABILITY ... it will be added in 1.6.0 --- docs/libssh2_userauth_publickey_frommemory.3 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/libssh2_userauth_publickey_frommemory.3 b/docs/libssh2_userauth_publickey_frommemory.3 index 5e7b34b..685bd59 100644 --- a/docs/libssh2_userauth_publickey_frommemory.3 +++ b/docs/libssh2_userauth_publickey_frommemory.3 @@ -34,12 +34,10 @@ It's only supported when libssh2 is backed by OpenSSL. \fIpassphrase\fP - Passphrase to use when decoding private key file. Attempt public key authentication using a PEM encoded private key file stored in memory. - .SH RETURN VALUE Return 0 on success or negative on failure. It returns LIBSSH2_ERROR_EAGAIN when it would otherwise block. While LIBSSH2_ERROR_EAGAIN is a negative number, it isn't really a failure per se. - .SH ERRORS \fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed. @@ -52,6 +50,7 @@ combination was invalid. \fILIBSSH2_ERROR_AUTHENTICATION_FAILED\fP - Authentication using the supplied public key was not accepted. - +.SH AVAILABILITY +libssh2_userauth_publickey_frommemory was added in libssh2 1.6.0 .SH SEE ALSO .BR libssh2_session_init_ex(3)