aboutsummaryrefslogtreecommitdiff
path: root/test/fake_rsaprov.h
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2023-09-14 09:25:30 -0400
committerDmitry Belyavskiy <beldmit@gmail.com>2023-09-19 12:24:07 +0200
commit64129008fb822758778f7dd29cec6a0a4582e4d2 (patch)
tree68fe14ea6ef2fd4df85dff8189a9b3c3d5b521cc /test/fake_rsaprov.h
parent96e678087de25c4bb19ef01492bd04002c3fe315 (diff)
downloadopenssl-64129008fb822758778f7dd29cec6a0a4582e4d2.zip
openssl-64129008fb822758778f7dd29cec6a0a4582e4d2.tar.gz
openssl-64129008fb822758778f7dd29cec6a0a4582e4d2.tar.bz2
Add Test to verify open_ex password checking works
Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20131)
Diffstat (limited to 'test/fake_rsaprov.h')
-rw-r--r--test/fake_rsaprov.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/fake_rsaprov.h b/test/fake_rsaprov.h
index 53056fa..9c353b3 100644
--- a/test/fake_rsaprov.h
+++ b/test/fake_rsaprov.h
@@ -9,6 +9,8 @@
#include <openssl/core_dispatch.h>
+#define FAKE_PASSPHRASE "Passphrase Testing"
+
/* Fake RSA provider implementation */
OSSL_PROVIDER *fake_rsa_start(OSSL_LIB_CTX *libctx);
void fake_rsa_finish(OSSL_PROVIDER *p);