xref: /freebsd/crypto/openssl/providers/prov_running.c (revision 9f23cbd6cae82fd77edfad7173432fa8dccd0a95)
1 /*
2  * Copyright 2020 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/e_os2.h>
11 #include "prov/providercommon.h"
12 
13 /* By default, our providers don't have an error state */
14 void ossl_set_error_state(const char *type)
15 {
16 }
17 
18 /* By default, our providers are always in a happy state */
19 int ossl_prov_is_running(void)
20 {
21     return 1;
22 }
23