GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
OPENSSL_INIT_SSL(3) FreeBSD Library Functions Manual OPENSSL_INIT_SSL(3)

OPENSSL_init_sslinitialise the crypto and ssl libraries

#include <openssl/ssl.h>

int
OPENSSL_init_ssl(uint64_t options, const void *dummy);

This function is deprecated. It is never useful for any application program to call it explicitly. The library automatically calls it internally with an options argument of 0 whenever needed. It is safest to assume that any function may do so.

To enable or disable the standard configuration file, instead use OPENSSL_config(3) or OPENSSL_no_config(3), respectively. To load a non-standard configuration file, refer to CONF_modules_load_file(3).

() calls OPENSSL_init_crypto(3), SSL_load_error_strings(3), and SSL_library_init(3).

The options argument is passed on to OPENSSL_init_crypto(3) and the dummy argument is ignored.

If this function is called more than once, none of the calls except the first one have any effect.

OPENSSL_init_ssl() is intended to return 1 on success or 0 on error.

CONF_modules_load_file(3), OPENSSL_config(3), ssl(3)

OPENSSL_init_ssl() first appeared in OpenSSL 1.1.0 and has been available since OpenBSD 6.3.

OPENSSL_init_ssl() silently ignores even more configuration failures than OPENSSL_init_crypto(3).

June 14, 2019 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.