Re: secur32: Fix compilation with GNU TLS 1.0.16.
2008/9/24 Francois Gouget <fgouget(a)free.fr>:
---
On my system I have libgnutls11-dev 1.0.16-14+b1 which has gnutls_certificate_credentials but not the corresponding ..._t type. So this patch lets it compile on my system. Hopefully it will still work with the newer headers (otherwise we'll have to introduce a configure check :-( )
I don't think that'll work, this is what newer versions of gnutls have: struct gnutls_certificate_credentials_st; typedef struct gnutls_certificate_credentials_st *gnutls_certificate_credentials_t; typedef gnutls_certificate_credentials_t gnutls_certificate_server_credentials; typedef gnutls_certificate_credentials_t gnutls_certificate_client_credentials; gnutls_certificate_client_credentials and gnutls_certificate_server_credentials should be available in both versions though. Considering we're only setting client credentials anyway for the moment, just using gnutls_certificate_client_credentials would probably be fine.
2008/9/24 Henri Verbeet <hverbeet(a)gmail.com>:
I don't think that'll work, this is what newer versions of gnutls have: Ignore that, I should've actually tried the patch instead of looking at the header. gnutls_certificate_credentials is defined as gnutls_certificate_credentials_t in gnutls/compat.h.
participants (1)
-
Henri Verbeet