On 20 February 2015 at 10:36, Greg Martin <[email protected]> wrote:
> Hi,
> I just build libressl on Linux 3.13.0-44-generic. I haven't installed it
> yet but it was a clean build.
>
> I'm interested in trying libssl but the only documentation I've found is
> a single manpage (tls_int). Are there some example programs somewhere or
> more comprehensive documentation?
>
> Thanks,
> Greg Martin.

Hello,

Isn't tls_init(3) quite comprehensive as is?

    http://mdoc.su/o/tls_init.3

If want some concrete examples of how libressl and tls_init(3) can be
used, you might want to check out the source code of OpenBSD -current.
You can use BXR.SU OpenGrok to navigate such source code (updated
daily).

The most recent example of libressl and tls_init.3 use would perhaps
be OpenNTPD.

    http://bxr.su/OpenBSD/usr.sbin/ntpd/constraint.c

    http://bxr.su/OpenBSD/usr.sbin/ntpd/ntp.c#ntp_main

A brief search reveals that tls_init is also currently referenced, in
no particular order, from httpd, ftp, spamd and syslogd:

    http://bxr.su/OpenBSD/usr.sbin/httpd/server.c
    http://bxr.su/OpenBSD/usr.bin/ftp/fetch.c
    http://bxr.su/OpenBSD/libexec/spamd/spamd.c
    http://bxr.su/OpenBSD/usr.sbin/syslogd/syslogd.c

Cheers,
Constantine.

Reply via email to