This wiki is a read-only archive and is no longer maintained. Current documentation is at docs.openssl.org and on the OpenSSL GitHub wiki.

Libssl API

From OpenSSLWiki
Jump to navigationJump to search

libssl is the portion of OpenSSL which supports TLS ( SSL and TLS Protocols ), and depends on libcrypto.

This is a C api. To use it you need to include (at least) openssl/ssl.h and to link your program with libssl library.

How to get libssl API to compile with it

on Debian base ( debian, ubuntu, ... ) you would need libssl-dev : apt-get install libssl-dev.

on Redhat base ( RedHat, Fedora, ... ) you would need openssl-devel : yum install openssl-devel

You can get sources directly too to compile statically over it.