[Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles

bugtracker at ...3416... bugtracker at ...3416...
Tue Aug 30 17:53:44 CEST 2016


http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4-

Comment #23 by Tyrone LUCERO:

hi, the pacth works for 1.1 and 0.9 but for 1.0 does not, but a simple change, i think with the mckay's patch

--- c_digest.c.old 
+++ c_digest.c 
@@ -144,7 +144,7 @@
  * The *_new() and *_free() routines were called *_create() and *_destroy()
  * there.
  */
-#if OPENSSL_VERSION_NUMBER <= 0x0090821fL
+#if OPENSSL_VERSION_NUMBER <= < 0x100000000L
 inline int EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx)
 {
 	/* Don't assume ctx->md_data was cleaned in EVP_Digest_Final,

this make it works, due inline makes no interfering with the already declared in funtionallity terms?






More information about the User mailing list