Skip to content

Fix pkcs11 test

Michal Nowak requested to merge mnowak/pkcs11-test-fix into master

The definition of SLOT environmental variable, which needs to be defined otherwise slot 0 is expected, is the main culprit here.

Other fixes along the way:

  • system test expect PIN to be 1234 but bin/tests/ sets it to 0000, I opted to change the PIN from bin/tests/
  • I moved the content of bin/tests/system/pkcs11/ to bin/tests/system/pkcs11/ as does not seems to be required and, more importantly, creates supported file but, which is run before, removes it and thus can't use it
  • there was a typo in have_ecx

Fixes #1496 (closed).

Edited by Michal Nowak

Merge request reports