summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-10-05 19:08:23 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-10-05 19:08:23 +0900
commit06a04a1aa3fbf9132c61f4ced9582c36c96d3f65 (patch)
tree52ca2fd166600210694d1814fd30b246a4a5d9af /time.c
parent96452373fd192ada49c831386e033531e2263a52 (diff)
ext/openssl/ossl_ssl.c: Use const declaration if LibreSSL >= 2.8.0
to suppress a warning in OpenBSD. ``` ossl_ssl.c:938:31: warning: incompatible pointer types passing 'SSL_SESSION *(SSL *, unsigned char *, int, int *)' (aka 'struct ssl_session_st *(struct ssl_st *, unsigned char *, int, int *)') to parameter of type 'SSL_SESSION *(*)(struct ssl_st *, const unsigned char *, int, int *)' (aka 'struct ssl_session_st *(*)(struct ssl_st *, const unsigned char *, int, int *)') [-Wincompatible-pointer-types] SSL_CTX_sess_set_get_cb(ctx, ossl_sslctx_session_get_cb); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ssl.h:738:20: note: passing argument to parameter 'get_session_cb' here SSL_SESSION *(*get_session_cb)(struct ssl_st *ssl, ^ 1 warning generated. ```
Diffstat (limited to 'time.c')
0 files changed, 0 insertions, 0 deletions