[Gambas-user] Pre-release of Gambas 3.9.0

PICCORO McKAY Lenz mckaygerhard at ...626...
Mon Aug 22 00:27:18 CEST 2016


openssl version are 0.9.8o

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2016-08-21 12:15 GMT-04:00 Tobias Boege <taboege at ...626...>:

> On Sun, 21 Aug 2016, PICCORO McKAY Lenz wrote:
> > i have error compiling, agains openssl 0.X not 1.X
> >
> >   CC     gb_openssl_la-main.lo
> >     CC     gb_openssl_la-c_digest.lo
> >     c_digest.c: In function ‘get_dlist’:
> >     c_digest.c:51: warning: implicit declaration of function
> ‘EVP_MD_do_all’
> >     c_digest.c: In function ‘EVP_MD_CTX_reset’:
> >     c_digest.c:174: warning: implicit declaration of function
> > ‘EVP_PKEY_CTX_free’
> >     c_digest.c:174: error: ‘EVP_MD_CTX’ has no member named ‘pctx’
> >
>
> Apparently that member was introduced on 22 May 2006 (apparently OpenSSL
> 0.9.7k) and removed again on 27 Nov 2015 (according to git tags, the
> versions
> 1.0.2e, 1.0.1q, 0.9.8zh and 1.1.0pre1 all are the first tags in their
> respective version numbers which contain this commit).
>
> The use of the pctx member there is for forward compatibility with OpenSSL
> 1.1, which makes its structs opaque. So either you have a version from
> before
> 2006 or after 2015 which has opaque structures already but still a version
> macro
>
>         OPENSSL_VERSION_NUMBER < 0x10100000L
>
> which I was told was an indicator of the API change.
>
> So, in any case you need to be more specific about your OpenSSL version.
> 0.x could be anything between 1998 and 2015.
>
> Regards,
> Tobi
>
> --
> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>
> ------------------------------------------------------------
> ------------------
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list