1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-02 10:53:16 +03:00

Dan Fandrich patch:

1 - let libssh2 compile with OpenSSL 0.9.6b.  This is due to 'crypt' is found
in one of its header files and EVP_MAX_BLOCK_LENGTH not being found.

2 - The EXEEXT patch is because automake 1.7 doesn't support it, and recent
automakes add it automatically
This commit is contained in:
Daniel Stenberg
2007-03-14 21:59:12 +00:00
parent 689c394c57
commit 75ceed5776
3 changed files with 14 additions and 10 deletions

View File

@@ -39,6 +39,10 @@
#include "libssh2_priv.h"
#include <string.h>
#ifndef EVP_MAX_BLOCK_LENGTH
#define EVP_MAX_BLOCK_LENGTH 32
#endif
int _libssh2_rsa_new(libssh2_rsa_ctx **rsa,
const unsigned char *edata,
unsigned long elen,