OnHostCertificate event problems (General questions)

by Paul Draper, (7156 days ago)

Hi,

I have a HttpDlx client component that I am running in secure mode.

I have created an OnHostCertificate event:
[code]wodHttpHostCertificate(TObject *Sender,
ICertificate *Cert,
long ErrorCode,
BSTR ErrorText,
VARIANT_BOOL *Accept)[/code]

which is fired when the client receives a certificate from the web server.

My problem is that if I try to access the Accept parameter I get an Access Violation because it is a NULL pointer.

Is this similar to a problem that my colleague (Dave Lucus) encountered in the SSH HostFingerPrint event?

Thanks
Paul

locked

Complete thread: