Subject: libssh2 MorphOS patch

libssh2 MorphOS patch

From: Leif Salomonsson <>
Date: 01 Aug 2012 19:21:58 +0100


I ported libssh2 to MorphOS (
I would like to have changes merged with main tree if possible.
Patch file attached. Here is a description of the changes:


Because of collissions with bsdsocket send() and recv() functions,
some changes where made in libssh2_priv.h and session.c, where these
names where used for callbacks variables in LIBSSH2_SESSION.

Similar issue in agent.c, where ->connect() is changed to ->_connect_().

Again, libssh2_priv.h: struct _LIBSSH2_CRYPT_METHOD has a function
named "crypt", renamed into "_crypt_"

Some blocking mode set/get changes/fixes in session.c.

Some conditional additions to misc.c regarding _libssh2_send() and




Received on 2012-08-01