]>
Commit | Line | Data |
---|---|---|
c41f3ae0 RL |
1 | /* |
2 | * Copyright 2019 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 | ||
c41f3ae0 | 13 | OSSL_provider_init_fn ossl_default_provider_init; |
3593266d | 14 | OSSL_provider_init_fn fips_intern_provider_init; |
318e074e RL |
15 | #ifdef STATIC_LEGACY |
16 | OSSL_provider_init_fn ossl_legacy_provider_init; | |
17 | #endif | |
c41f3ae0 | 18 | const struct predefined_providers_st predefined_providers[] = { |
3593266d MC |
19 | #ifdef FIPS_MODE |
20 | { "fips", fips_intern_provider_init, 1 }, | |
21 | #else | |
c41f3ae0 | 22 | { "default", ossl_default_provider_init, 1 }, |
318e074e RL |
23 | # ifdef STATIC_LEGACY |
24 | { "legacy", ossl_legacy_provider_init, 0 }, | |
25 | # endif | |
3593266d | 26 | #endif |
c41f3ae0 RL |
27 | { NULL, NULL, 0 } |
28 | }; |