1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-03 22:13:11 +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"
#ifdef LIBSSH2_LIBGCRYPT /* compile only if we build with libgcrypt */
#include <string.h>
int
@@ -572,3 +575,5 @@ _libssh2_cipher_crypt(_libssh2_cipher_ctx * ctx,
}
return ret;
}
#endif /* LIBSSH2_LIBGCRYPT */