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

removed conditional sources from Makefile.inc

added ifdef blocks to libgcrypt.c, pem.c, openssl.c
This commit is contained in:
Guenter Knauf
2009-09-07 18:10:49 +02:00
parent 766127ad57
commit 7c32c84d0e
4 changed files with 15 additions and 7 deletions

View File

@@ -37,6 +37,9 @@
*/
#include "libssh2_priv.h"
#ifndef LIBSSH2_LIBGCRYPT /* compile only if we build with OpenSSL */
#include <string.h>
#ifndef EVP_MAX_BLOCK_LENGTH
@@ -337,3 +340,5 @@ _libssh2_dsa_sha1_sign(libssh2_dsa_ctx * dsactx,
return 0;
}
#endif /* !LIBSSH2_LIBGCRYPT */