- Timestamp:
- 2016-05-01T01:46:21Z (9 years ago)
- Branches:
- master
- Children:
- 72d48b6
- Parents:
- a244877
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/ssl_gnutls.c
ra244877 r720f7a9 42 42 #include <limits.h> 43 43 44 #if defined(ULONG_MAX) && ULONG_MAX > 4294967295UL45 #define GNUTLS_STUPID_CAST (long)46 #else47 #define GNUTLS_STUPID_CAST (int)48 #endif49 50 44 #define SSLDEBUG 0 51 45 … … 335 329 336 330 sock_make_nonblocking(conn->fd); 337 gnutls_transport_set_ptr(conn->session, (gnutls_transport_ptr_t) GNUTLS_STUPID_CASTconn->fd);331 gnutls_transport_set_ptr(conn->session, (gnutls_transport_ptr_t) (long) conn->fd); 338 332 339 333 ssl_cache_resume(conn);
Note: See TracChangeset
for help on using the changeset viewer.