Our provided callback function `threadid_cb(CRYPTO_THREADID *threadid)` sets up a unique thread ID by asking pthread for the current thread ID. Since openssl version 1.1, `CRYPTO_THREADID_set_numeric` is simply a no-op macro, leaving the `threadid` argument unused after the preprocessor has processed the macro. GCC does not account for that situation and will thus complain about `threadid` being unused. Silence this warning by using `GIT_UNUSED(threadid)`.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
curl.c | Loading commit data... | |
curl.h | Loading commit data... | |
mbedtls.c | Loading commit data... | |
mbedtls.h | Loading commit data... | |
openssl.c | Loading commit data... | |
openssl.h | Loading commit data... | |
socket.c | Loading commit data... | |
socket.h | Loading commit data... | |
stransport.c | Loading commit data... | |
stransport.h | Loading commit data... | |
tls.c | Loading commit data... | |
tls.h | Loading commit data... |