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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user