test: add a shim function for the apps's opt_legacy_okay() function
Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16022)
This commit is contained in:
parent
12aa352f09
commit
2f8f8e6fc9
@ -28,3 +28,29 @@ void *app_malloc(size_t sz, const char *what)
|
||||
}
|
||||
return vp;
|
||||
}
|
||||
|
||||
/* shim to prevent sucking in too much from apps */
|
||||
|
||||
int opt_legacy_okay(void)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
/*
|
||||
* These three functions are defined here so that they don't need to come from
|
||||
* the apps source code and pull in a lot of additional things.
|
||||
*/
|
||||
int opt_provider_option_given(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
const char *app_get0_propq(void)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
OSSL_LIB_CTX *app_get0_libctx(void)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user