Lutz Jaenicke wrote,
> During the last week I have rewritten the manual page for
> SSL_shutdown(), please use the online version or download a snapshot
> of OpeSSL to obtain it. It probably contains the answer to your
> question.
The new man page is a huge improvement ... thanks.
I think it needs a tweak tho'. You don't say how the shutdown state
bitmask can be read. I think you should, because a grep through the
example sources would suggest that you get it by grubbing around
directly in the SSL struct, ie. ssl->shutdown. I'd imagine that this
is wrong (it's a nasty violation of encapsulation) and that the right
way is to invoke SSL_get_shutdown(). Bizzarely, I can't find _any_
uses of SSL_get_shutdown() anywhere in the 0.9.6b distribution.
Out of interest, does anyone have any guesses as to how easy would it
be to make the various data structures completely opaque? Would it
break huge amounts of code which depend on being able to poke around
in the innards of the implementation?
Cheers,
Miles
--
Miles Sabin InterX
Internet Systems Architect 27 Great West Road
+44 (0)20 8817 4030 Middx, TW8 9AS, UK
[EMAIL PROTECTED] http://www.interx.com/
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]