]> git.ipfire.org Git - thirdparty/openssl.git/blob - crypto/provider_predefined.c
Update copyright year
[thirdparty/openssl.git] / crypto / provider_predefined.c
1 /*
2 * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
3 *
4 * Licensed under the Apache License 2.0 (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
8 */
9
10 #include <openssl/core.h>
11 #include "provider_local.h"
12
13 OSSL_provider_init_fn ossl_default_provider_init;
14 OSSL_provider_init_fn ossl_base_provider_init;
15 OSSL_provider_init_fn ossl_null_provider_init;
16 OSSL_provider_init_fn ossl_fips_intern_provider_init;
17 #ifdef STATIC_LEGACY
18 OSSL_provider_init_fn ossl_legacy_provider_init;
19 #endif
20 const struct predefined_providers_st ossl_predefined_providers[] = {
21 #ifdef FIPS_MODULE
22 { "fips", ossl_fips_intern_provider_init, 1 },
23 #else
24 { "default", ossl_default_provider_init, 1 },
25 # ifdef STATIC_LEGACY
26 { "legacy", ossl_legacy_provider_init, 0 },
27 # endif
28 { "base", ossl_base_provider_init, 0 },
29 { "null", ossl_null_provider_init, 0 },
30 #endif
31 { NULL, NULL, 0 }
32 };