Constify CMS_get0_type input
[openssl.git] / doc / crypto / OpenSSL_add_all_algorithms.pod
index 78fe12aa3f65007f500ee5dc983eb31e7ebbae4c..aaa28dd6a9374afbbc4cb31fbdfb84fe3ee2fed9 100644 (file)
@@ -12,31 +12,11 @@ add algorithms to internal table
 Deprecated:
 
  # if OPENSSL_API_COMPAT < 0x10100000L
- #  define OPENSSL_add_all_algorithms_conf() \
-     OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
-                         | OPENSSL_INIT_ADD_ALL_DIGESTS \
-                         | OPENSSL_INIT_LOAD_CONFIG, NULL)
- #  define OPENSSL_add_all_algorithms_noconf() \
-     OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
-                         | OPENSSL_INIT_ADD_ALL_DIGESTS, NULL)
-
- #  ifdef OPENSSL_LOAD_CONF
- #   define OpenSSL_add_all_algorithms() \
-     OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
-                         | OPENSSL_INIT_ADD_ALL_DIGESTS \
-                         | OPENSSL_INIT_LOAD_CONFIG, NULL)
- #  else
- #   define OpenSSL_add_all_algorithms() \
-     OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
-                         | OPENSSL_INIT_ADD_ALL_DIGESTS, NULL)
- #  endif
-
- #  define OpenSSL_add_all_ciphers() \
-     OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS, NULL)
- #  define OpenSSL_add_all_digests() \
-     OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_DIGESTS, NULL)
-
- #  define EVP_cleanup()
+ void OpenSSL_add_all_algorithms(void);
+ void OpenSSL_add_all_ciphers(void);
+ void OpenSSL_add_all_digests(void);
+
+ void EVP_cleanup(void)
 # endif
 
 =head1 DESCRIPTION
@@ -44,8 +24,8 @@ Deprecated:
 OpenSSL keeps an internal table of digest algorithms and ciphers. It uses
 this table to lookup ciphers via functions such as EVP_get_cipher_byname(). In
 OpenSSL versions prior to 1.1.0 these functions initialised and de-initialised
-this table. From OpenSSL 1.1.0 are deprecated. No explicit initialisation or
-de-initialisation is required. See L<OPENSSL_init_crypto(3)> for further
+this table. From OpenSSL 1.1.0 they are deprecated. No explicit initialisation
+or de-initialisation is required. See L<OPENSSL_init_crypto(3)> for further
 information.
 
 OpenSSL_add_all_digests() adds all digest algorithms to the table.
@@ -98,4 +78,13 @@ The OpenSSL_add_all_algorithms(), OpenSSL_add_all_ciphers(),
 OpenSSL_add_all_digests(), and EVP_cleanup(), functions
 were deprecated in OpenSSL 1.1.0 by OPENSSL_init_crypto().
 
+=head1 COPYRIGHT
+
+Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
+
+Licensed under the OpenSSL license (the "License").  You may not use
+this file except in compliance with the License.  You can obtain a copy
+in the file LICENSE in the source distribution or at
+L<https://www.openssl.org/source/license.html>.
+
 =cut