1) I'm pretty sure the reference to socket should be fd instead. I
don't know why it compiled with socket in there . . . note to self: read
compiler warnings . . .
maybe it should be socket_fd or something ? ;)
2) The cert returned by SSL_PeerCertificate is "dup"ed, so we need to
call CERT_DestroyCertificate to release it otherwise we'll leak references.
3) The hostname returned by SSL_RevealURL is strduped and must be freed.
looks good to me.
_______________________________________________
mozilla-directory mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-directory