Hello,my friend!
Today when I use the openssl 0.9.8y,I met a problem,please help me.
The problem is : I upgrade the openssl form version 0.9.8w to
0.9.8y,a progress occured coredump.I finally found that the issue is:
/* Fix this function so that it takes an optional type parameter */
X509 *SSL_get_certificate(const SSL *s)
{
if (s->server)
return(ssl_get_server_send_cert(s)); //it changed hereļ¼and add this
two lines.
else if (s->cert != NULL)
return(s->cert->key->x509);
else
return(NULL);
}
So my question is :why you modiy this SSL_get_certificate function?Did you
modify the other codes at the same time or just this two lines?
If I modify this function,and roll back,do I need to rolback other code ?
Thank you very much!
The pciture is captured from the openssl0.9.8y,and the bugs and fixs show like
the following: