Difference between revisions of "Libssl API"

From OpenSSLWiki
Jump to navigationJump to search
m
 
Line 8: Line 8:
 
== How to get libssl API to compile with it ==
 
== How to get libssl API to compile with it ==
  
on Debian base ( debian, ubuntu, ... ) you would need libssl-dev  : apt-get install libss-dev.
+
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
 
on Redhat base ( RedHat, Fedora, ... ) you would need openssl-devel : yum install openssl-devel

Latest revision as of 09:11, 10 July 2019

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[edit]

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.