Subject: Re: RE : For the interested ones : libssh2_userauth_publickey_fromfile andlibssh2_userauth_hostbased_fromfile with no need of the publickey file

Re: RE : For the interested ones : libssh2_userauth_publickey_fromfile andlibssh2_userauth_hostbased_fromfile with no need of the publickey file

From: Simon Josefsson <simon_at_josefsson.org>
Date: Fri, 27 Mar 2009 12:27:53 +0100

"Jean-Louis CHARTON" <Jean-Louis.CHARTON_at_oikialog.com> writes:

> Hi Mikhail
>
> The requested diff.

Hi! Thanks for the patch. You can't use OpenSSL specific functions or
data types outside of openssl.c/openssl.h. Instead, you need to define
a new meta-function in openssl.h and gcrypt.h and call that in
userauth.c. The OpenSSL specific code should go into openssl.{h,c}.
Think about making the meta-API generally implementable, so it can be
implemented for gcrypt as well.

/Simon

------------------------------------------------------------------------------
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2009-03-27