xref: /freebsd/crypto/openssl/providers/prov_running.c (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
1*b077aed3SPierre Pronchery /*
2*b077aed3SPierre Pronchery  * Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
3*b077aed3SPierre Pronchery  *
4*b077aed3SPierre Pronchery  * Licensed under the Apache License 2.0 (the "License").  You may not use
5*b077aed3SPierre Pronchery  * this file except in compliance with the License.  You can obtain a copy
6*b077aed3SPierre Pronchery  * in the file LICENSE in the source distribution or at
7*b077aed3SPierre Pronchery  * https://www.openssl.org/source/license.html
8*b077aed3SPierre Pronchery  */
9*b077aed3SPierre Pronchery 
10*b077aed3SPierre Pronchery #include <openssl/e_os2.h>
11*b077aed3SPierre Pronchery #include "prov/providercommon.h"
12*b077aed3SPierre Pronchery 
13*b077aed3SPierre Pronchery /* By default, our providers don't have an error state */
ossl_set_error_state(const char * type)14*b077aed3SPierre Pronchery void ossl_set_error_state(const char *type)
15*b077aed3SPierre Pronchery {
16*b077aed3SPierre Pronchery }
17*b077aed3SPierre Pronchery 
18*b077aed3SPierre Pronchery /* By default, our providers are always in a happy state */
ossl_prov_is_running(void)19*b077aed3SPierre Pronchery int ossl_prov_is_running(void)
20*b077aed3SPierre Pronchery {
21*b077aed3SPierre Pronchery     return 1;
22*b077aed3SPierre Pronchery }
23