11154 pkcs11_tpm: NULL pointer errors
Review Request #1939 — Created June 1, 2019 and submitted — Latest diff uploaded
Information | |
---|---|
tsoome | |
illumos-gate | |
11154 | |
cc94fab... | |
Reviewers | |
general | |
../common/new_host.c: In function 'SC_SeedRandom': ../common/new_host.c:2320:33: error: comparison between pointer and integer [-Werror] if (pSeed == NULL || ulSeedLen == NULL) ^~ ../common/tpm_specific.c: In function 'token_rsa_load_key': ../common/tpm_specific.c:2278:9: error: assignment makes integer from pointer without a cast [-Werror=int-conversion] *phKey = NULL; ^ ../common/tpm_specific.c:2309:14: error: comparison between pointer and integer [-Werror] if (*phKey != NULL) { ^~ cc1: all warnings being treated as errors