Re: [openssl-dev] ssl_sess.c : compilation error

2015-06-07 Thread Zvi Vered
error On Sun, Jun 07, 2015 at 12:17:06AM +0300, Zvi Vered wrote: Dear Members, In the file openssl-1.0.1g\ssl\ssl_sess.c contains the following code: int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx))(SSL *ssl, SSL_SESSION *sess) { return ctx-new_session_cb; } The return value

[openssl-dev] ssl_sess.c : compilation error

2015-06-06 Thread Zvi Vered
Dear Members, In the file openssl-1.0.1g\ssl\ssl_sess.c contains the following code: int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx))(SSL *ssl, SSL_SESSION *sess) { return ctx-new_session_cb; } The return value of this routine is a “pointer to function”. But the code :