prov_running.c 609 B

12345678910111213141516171819202122
  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. #include <openssl/e_os2.h>
  10. #include "prov/providercommon.h"
  11. /* By default, our providers don't have an error state */
  12. void ossl_set_error_state(const char *type)
  13. {
  14. }
  15. /* By default, our providers are always in a happy state */
  16. int ossl_prov_is_running(void)
  17. {
  18. return 1;
  19. }