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 :
ctx->new_session_cb
uses a parameter of the return value. How this is possible ?
I’m trying to compile this code using diab compiler for vxworks6.3 and
I have a syntax error.
Using this compiler for vxWorks 6.9 (newer compiler) gives no syntax
error.
Is there another way to write this code ?
Best regards,
Z.V
_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev