fix example client error print out and ASN1_TIME_print after rebase

This commit is contained in:
Jacob Barthelmeh
2018-01-16 15:39:58 -07:00
parent b3ab0a9c11
commit 60b329f7e5
2 changed files with 4 additions and 7 deletions

View File

@@ -2005,8 +2005,8 @@ THREAD_RETURN WOLFSSL_THREAD client_test(void* args)
ret = NonBlockingSSL_Connect(ssl); /* will keep retrying on timeout */
#endif
if (ret != WOLFSSL_SUCCESS) {
printf("wolfSSL_connect error %d, %s\n", ret,
wolfSSL_ERR_error_string(ret, buffer));
printf("wolfSSL_connect error %d, %s\n", err,
wolfSSL_ERR_error_string(err, buffer));
wolfSSL_free(ssl);
wolfSSL_CTX_free(ctx);
err_sys("wolfSSL_connect failed");