pkcs11 1001: test C_GetSlotList() for zero-count non-NULL buffer case

Check C_GetSlotList() returns CKR_BUFFER_TOO_SMALL, not CKR_OK when
called with a non-NULL ID buffer reference and a count info to ID.
Prior this change was this specific test not covered in case TA
implements more than 1 token.

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
1 file changed
tree: f6a019b09f1455224f695815e49d971f64cbf68c
  1. .github/
  2. cert/
  3. host/
  4. package/
  5. scripts/
  6. ta/
  7. .gitignore
  8. Android.mk
  9. CMakeLists.txt
  10. CMakeToolchain.txt
  11. LICENSE.md
  12. Makefile
  13. README.md
  14. typedefs.checkpatch
README.md

OP-TEE sanity testsuite

This git contains source code for the test suite (xtest) used to test the OP-TEE project.

All official OP-TEE documentation has moved to http://optee.readthedocs.io. The information that used to be here in this git can be found under optee_test.

// OP-TEE core maintainers