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