lftp: non working gcc2 patch

This commit is contained in:
Jerome Duval
2014-05-17 13:51:35 +00:00
parent ff2c700560
commit c6e5136791

View File

@@ -0,0 +1,22 @@
From 5ade774564ec60f247d60adbd39c2f94c6164fff Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Sat, 17 May 2014 13:38:15 +0000
Subject: gcc2 fix
diff --git a/lib/gl_openssl.h b/lib/gl_openssl.h
index 2414421..014769d 100644
--- a/lib/gl_openssl.h
+++ b/lib/gl_openssl.h
@@ -95,7 +95,7 @@ GL_CRYPTO_FN (_finish_ctx) (struct _gl_ctx *ctx, void *res)
GL_OPENSSL_INLINE void *
GL_CRYPTO_FN (_buffer) (const char *buf, size_t len, void *res)
-{ return OPENSSL_FN () ((const unsigned char *) buf, len, (unsigned char *) res); }
+{ return OPENSSL_FN ( ) ((const unsigned char *) buf, len, (unsigned char *) res); }
GL_OPENSSL_INLINE void *
GL_CRYPTO_FN (_read_ctx) (const struct _gl_ctx *ctx, void *res)
--
1.8.3.4