GNUTLS: Fix the SSL_P(x) macro

It previously assumed there was an "F" variable in the scope it was
used in. It now uses its input "x" variable.
This commit is contained in:
Aaron Jones 2016-09-16 12:34:31 +00:00
parent 5103d939d0
commit a41a1d20db
No known key found for this signature in database
GPG key ID: EC6F86EE9CD840B5

View file

@ -39,7 +39,7 @@
# include <gnutls/crypto.h>
#endif
#define SSL_P(x) *((gnutls_session_t *)F->ssl)
#define SSL_P(x) *((gnutls_session_t *) ((x)->ssl))