On Wed, 9 Feb 2005, Thomas Henlich wrote:
In src/osdep/unix/ssl_unix.c there are functions ssl_open and ssl_start.
I do not understand why the 3rd argument to ssl_start is called "port"
when ssl_start is called from ssl_open. (It should be "flags"?)

The SSL layer is implemented as a NETDRIVER, and as such the methods that implement the netdriver.


The third argument to ssl_open() is a long that has a port in the low 32 bits and flags in the upper 32 bits. That actually isn't any different from tcp_open() which has the same thing, and takes the same flags (which are the NET_??? names in mail.h).

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.

Reply via email to