Skip to content

Commit

Permalink
pkcs11-tool: disable wrap/unwrap test
Browse files Browse the repository at this point in the history
... until OpenSC#1796 is resolved
  • Loading branch information
frankmorgner committed Sep 25, 2019
1 parent 25bc8fc commit aef6201
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/tools/pkcs11-tool.c
Original file line number Diff line number Diff line change
Expand Up @@ -5491,6 +5491,10 @@ static int wrap_unwrap(CK_SESSION_HANDLE session,
*/
static int test_unwrap(CK_SESSION_HANDLE sess)
{
#if OPENSC_VERSION_MAJOR == 0 && OPENSC_VERSION_MINOR <= 20
/* temporarily disable test, see https://github.com/OpenSC/OpenSC/issues/1796 */
return 0;
#else
int errors = 0;
CK_RV rv;
CK_OBJECT_HANDLE privKeyObject;
Expand Down Expand Up @@ -5542,6 +5546,7 @@ static int test_unwrap(CK_SESSION_HANDLE sess)
}

return errors;
#endif
}

#ifdef ENABLE_OPENSSL
Expand Down

0 comments on commit aef6201

Please sign in to comment.