Skip to content

Commit 0f7a32e

Browse files
committed
Quick fixes
1 parent e95373b commit 0f7a32e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkcs11/client-tls-pkcs11.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ int client_tls(const char *cacert, int devId, Pkcs11Token* token)
104104
if ((ret = wolfSSL_CTX_load_verify_locations(ctx, cacert, NULL))
105105
!= WOLFSSL_SUCCESS) {
106106
fprintf(stderr, "ERROR: failed to load %s, please check the file.\n",
107-
CA_FILE);
107+
cacert);
108108
goto exit;
109109
}
110110

@@ -197,7 +197,7 @@ int main(int argc, char* argv[])
197197
return 1;
198198
}
199199

200-
cacert = argv[1]
200+
cacert = argv[1];
201201
library = argv[2];
202202
slot = argv[3];
203203
tokenName = argv[4];

0 commit comments

Comments
 (0)