summaryrefslogtreecommitdiffstats
path: root/test/fake_rsaprov.h
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2021-10-06 19:21:53 +0200
committerRichard Levitte <levitte@openssl.org>2021-10-27 12:41:51 +0200
commit051228353a9842eede597294603cc06a55e3a22c (patch)
tree1fb7213f26ea9d6d89976ae9ad8a4710efc57499 /test/fake_rsaprov.h
parentdc010ca6ec01d313a84c3c4b040232655a1772ad (diff)
test: fetching proper signature provider for non-exportable keys
Co-author: Selva Nair <selva.nair@gmail.com> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16725)
Diffstat (limited to 'test/fake_rsaprov.h')
-rw-r--r--test/fake_rsaprov.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/fake_rsaprov.h b/test/fake_rsaprov.h
new file mode 100644
index 0000000000..57de1ecf8d
--- /dev/null
+++ b/test/fake_rsaprov.h
@@ -0,0 +1,14 @@
+/*
+ * 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
+ */
+
+#include <openssl/core_dispatch.h>
+
+/* Fake RSA provider implementation */
+OSSL_PROVIDER *fake_rsa_start(OSSL_LIB_CTX *libctx);
+void fake_rsa_finish(OSSL_PROVIDER *p);