xtest: pkcs11: fix unused errors

Fix unused parameter and unused variable errors with building
pkcs11_1000.c with OPENSSL disabled, i.e. WITH_OPENSSL = n or undefined.

host/xtest/pkcs11_1000.c:7425:49: error: unused parameter 'c' [-Werror,
-Wunused-parameter]
static void xtest_pkcs11_test_1024(ADBG_Case_t *c)
                                                ^

host/xtest/pkcs11_1000.c:7409:19: error: unused variable
'x509_example_root_ca' [-Werror,-Wunused-const-variable]
static const char x509_example_root_ca[] =
                  ^

Signed-off-by: Victor Chong <victor.chong@linaro.org>
Reviewed-by: Jerome Forissier <jerome@forissier.org>
1 file changed
tree: 79d438feb9f83f1b10ec4b361027b7882555a161
  1. .github/
  2. cert/
  3. host/
  4. scripts/
  5. ta/
  6. .gitignore
  7. Android.mk
  8. CMakeLists.txt
  9. CMakeToolchain.txt
  10. LICENSE.md
  11. Makefile
  12. README.md
  13. 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