Open lukateras opened 9 years ago
Nice idea but pop3d doesn't use OpenSSL API directly. It uses ioev/iobuf API borrowed from smtpd(8), so ideally a change to libtls should first be done at ioev/iobuf. If done right there shouldn't any change in the pop3 handling code.
Opps, meant to comment not close.
ssl.c
andssl.h
is basically a wrapper around OpenSSL headers. Since pop3d(8) is designed to run on OpenBSD, migrating it to libtls will make the daemon more concise.I'll try to do it myself soon (I am heavy pop3d user), just leaving it here for reference.