Expose OPENSL_cleanup()
authortb <tb@openbsd.org>
Sun, 11 Sep 2022 17:26:51 +0000 (17:26 +0000)
committertb <tb@openbsd.org>
Sun, 11 Sep 2022 17:26:51 +0000 (17:26 +0000)
ok jsing

lib/libcrypto/crypto.h

index 2d93441..3b00f03 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: crypto.h,v 1.56 2022/09/03 17:47:47 jsing Exp $ */
+/* $OpenBSD: crypto.h,v 1.57 2022/09/11 17:26:51 tb Exp $ */
 /* ====================================================================
  * Copyright (c) 1998-2006 The OpenSSL Project.  All rights reserved.
  *
@@ -562,9 +562,7 @@ void ERR_load_CRYPTO_strings(void);
 #define OPENSSL_INIT_ENGINE_ALL_BUILTIN                _OPENSSL_INIT_FLAG_NOOP
 
 int OPENSSL_init_crypto(uint64_t opts, const void *settings);
-#if defined(LIBRESSL_NEXT_API) || defined(LIBRESSL_INTERNAL)
 void OPENSSL_cleanup(void);
-#endif
 
 #ifdef  __cplusplus
 }