Home | History | Annotate | Line # | Download | only in man3
      1 =pod
      2 
      3 =head1 NAME
      4 
      5 SSL_library_init, OpenSSL_add_ssl_algorithms
      6 - initialize SSL library by registering algorithms
      7 
      8 =head1 SYNOPSIS
      9 
     10  #include <openssl/ssl.h>
     11 
     12  int SSL_library_init(void);
     13 
     14  int OpenSSL_add_ssl_algorithms(void);
     15 
     16 =head1 DESCRIPTION
     17 
     18 SSL_library_init() registers the available SSL/TLS ciphers and digests.
     19 
     20 OpenSSL_add_ssl_algorithms() is a synonym for SSL_library_init() and is
     21 implemented as a macro.
     22 
     23 =head1 NOTES
     24 
     25 SSL_library_init() must be called before any other action takes place.
     26 SSL_library_init() is not reentrant.
     27 
     28 =head1 WARNINGS
     29 
     30 SSL_library_init() adds ciphers and digests used directly and indirectly by
     31 SSL/TLS.
     32 
     33 =head1 RETURN VALUES
     34 
     35 SSL_library_init() always returns "1", so it is safe to discard the return
     36 value.
     37 
     38 =head1 SEE ALSO
     39 
     40 L<ssl(7)>,
     41 L<RAND_add(3)>
     42 
     43 =head1 HISTORY
     44 
     45 The SSL_library_init() and OpenSSL_add_ssl_algorithms() functions were
     46 deprecated in OpenSSL 1.1.0 by OPENSSL_init_ssl().
     47 
     48 =head1 COPYRIGHT
     49 
     50 Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
     51 
     52 Licensed under the Apache License 2.0 (the "License").  You may not use
     53 this file except in compliance with the License.  You can obtain a copy
     54 in the file LICENSE in the source distribution or at
     55 L<https://www.openssl.org/source/license.html>.
     56 
     57 =cut
     58