aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssl/apps/include/app_libctx.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/apps/include/app_libctx.h')
-rw-r--r--crypto/openssl/apps/include/app_libctx.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/crypto/openssl/apps/include/app_libctx.h b/crypto/openssl/apps/include/app_libctx.h
new file mode 100644
index 000000000000..17c0afc713d2
--- /dev/null
+++ b/crypto/openssl/apps/include/app_libctx.h
@@ -0,0 +1,20 @@
+/*
+ * Copyright 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
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
+
+#ifndef OSSL_APPS_LIBCTX_H
+# define OSSL_APPS_LIBCTX_H
+
+# include <openssl/types.h>
+
+OSSL_LIB_CTX *app_create_libctx(void);
+OSSL_LIB_CTX *app_get0_libctx(void);
+int app_set_propq(const char *arg);
+const char *app_get0_propq(void);
+
+#endif