pkcs11-tool: disable wrap/unwrap test until OpenSC#1796 is resolved

This commit is contained in:
Carsten Blüggel 2021-04-07 02:50:34 +02:00 committed by Frank Morgner
parent 545e47b29e
commit edb7ed25e4
1 changed files with 7 additions and 8 deletions

View File

@ -5746,7 +5746,7 @@ static int test_verify(CK_SESSION_HANDLE sess)
return errors;
}
#if OPENSC_VERSION_MAJOR == 0 && OPENSC_VERSION_MINOR <= 21
#if OPENSC_VERSION_MAJOR == 0 && OPENSC_VERSION_MINOR <= 22
#else
#ifdef ENABLE_OPENSSL
static int wrap_unwrap(CK_SESSION_HANDLE session,
@ -5870,7 +5870,7 @@ static int wrap_unwrap(CK_SESSION_HANDLE session,
*/
static int test_unwrap(CK_SESSION_HANDLE sess)
{
#if OPENSC_VERSION_MAJOR == 0 && OPENSC_VERSION_MINOR <= 21
#if OPENSC_VERSION_MAJOR == 0 && OPENSC_VERSION_MINOR <= 22
/* temporarily disable test, see https://github.com/OpenSC/OpenSC/issues/1796 */
return 0;
#else
@ -7632,4 +7632,3 @@ static void test_threads()
}
}
#endif /* defined(_WIN32) || defiend(HAVE_PTHREAD) */