test: add import and export key management hooks for the TLS provider.
[openssl.git] / test / simpledynamic.h
index cc4aed5c435dd0ba563569ad65ec97f0c1961e0e..bf5b21552fb54096ff3a6f5291cb88e2d24ccc37 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under the Apache License 2.0 (the "License").  You may not use
  * this file except in compliance with the License.  You can obtain a copy
@@ -36,9 +36,11 @@ typedef void *SD_SYM;
 
 # endif
 
+# if defined(DSO_DLFCN) || defined(DSO_WIN32)
 int sd_load(const char *filename, SD *sd, int type);
 int sd_sym(SD sd, const char *symname, SD_SYM *sym);
 int sd_close(SD lib);
 const char *sd_error(void);
+# endif
 
 #endif