summaryrefslogtreecommitdiffstats
path: root/test/sslapitest.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-09-25 02:19:19 +0200
committerPauli <ppzgs1@gmail.com>2021-02-24 12:24:36 +0100
commitb0001d0cf2539b9309712e3e04f407dcbb04352c (patch)
treefb7e81074c5d0ca84b3ae37f47bc612eb608b26e /test/sslapitest.c
parentrand: note that locking needs to be explicitly enabled. (diff)
downloadopenssl-b0001d0cf2539b9309712e3e04f407dcbb04352c.tar.xz
openssl-b0001d0cf2539b9309712e3e04f407dcbb04352c.zip
provider: add an unquery function to allow providers to clean up.
Without this, a provider has no way to know that an application has finished with the array it returned earlier. A non-caching provider requires this information. Fixes #12974 Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/12974)
Diffstat (limited to 'test/sslapitest.c')
-rw-r--r--test/sslapitest.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/sslapitest.c b/test/sslapitest.c
index 6f30a7efd1..b6eb6c16db 100644
--- a/test/sslapitest.c
+++ b/test/sslapitest.c
@@ -38,6 +38,7 @@
#include "internal/nelem.h"
#include "internal/ktls.h"
#include "../ssl/ssl_local.h"
+#include "filterprov.h"
#undef OSSL_NO_USABLE_TLS1_3
#if defined(OPENSSL_NO_TLS1_3) \
@@ -49,10 +50,6 @@
# define OSSL_NO_USABLE_TLS1_3
#endif
-/* Defined in filterprov.c */
-OSSL_provider_init_fn filter_provider_init;
-int filter_provider_set_filter(int operation, const char *name);
-
/* Defined in tls-provider.c */
int tls_provider_init(const OSSL_CORE_HANDLE *handle,
const OSSL_DISPATCH *in,
@@ -8058,7 +8055,7 @@ static int test_sigalgs_available(int idx)
: NID_rsassaPss))
goto end;
- testresult = 1;
+ testresult = filter_provider_check_clean_finish();
end:
SSL_free(serverssl);