Skip to content

Commit

Permalink
pkcs11-tool: disable wrap/unwrap test until OpenSC#1796 is resolved
Browse files Browse the repository at this point in the history
	modified:   src/tools/pkcs11-tool.c
  • Loading branch information
popovec committed Oct 19, 2023
1 parent 863d1ab commit 59080f4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/tools/pkcs11-tool.c
Original file line number Diff line number Diff line change
Expand Up @@ -7067,7 +7067,8 @@ static int test_verify(CK_SESSION_HANDLE sess)
return errors;
}

#if OPENSC_VERSION_MAJOR == 0 && OPENSC_VERSION_MINOR <= 23
#if 1
/* temporarily disable test, see https://github.com/OpenSC/OpenSC/issues/1796 */
#else
#ifdef ENABLE_OPENSSL
static int wrap_unwrap(CK_SESSION_HANDLE session,
Expand Down Expand Up @@ -7191,7 +7192,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 <= 23
#if 1
/* temporarily disable test, see https://github.com/OpenSC/OpenSC/issues/1796 */
return 0;
#else
Expand Down

0 comments on commit 59080f4

Please sign in to comment.