diff options
author | Tomas Mraz <tomas@openssl.org> | 2021-10-06 19:21:53 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2021-10-27 12:46:16 +0200 |
commit | dd292ed62cc5d3eb0c529aa51a07ec1ed34a9a5f (patch) | |
tree | 510cc07cc4b1f4418d7b31fa6a60548850db7a07 /test/fake_rsaprov.h | |
parent | 6e87830ebcbab6b03970da6a4f1070adb938a5ec (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)
(cherry picked from commit 051228353a9842eede597294603cc06a55e3a22c)
Diffstat (limited to 'test/fake_rsaprov.h')
-rw-r--r-- | test/fake_rsaprov.h | 14 |
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); |