diff --git a/examples/tls/tls_client.c b/examples/tls/tls_client.c index 6decff94..5ef60df4 100644 --- a/examples/tls/tls_client.c +++ b/examples/tls/tls_client.c @@ -594,7 +594,7 @@ int TPM2_TLS_ClientArgs(void* userCtx, int argc, char *argv[]) } /* Bidirectional shutdown */ - while (wolfSSL_shutdown(ssl) == SSL_SHUTDOWN_NOT_DONE) { + while (wolfSSL_shutdown(ssl) == WOLFSSL_SHUTDOWN_NOT_DONE) { printf("Shutdown not complete\n"); } diff --git a/examples/tls/tls_server.c b/examples/tls/tls_server.c index 0bcfe791..2fc0b16e 100644 --- a/examples/tls/tls_server.c +++ b/examples/tls/tls_server.c @@ -564,7 +564,7 @@ int TPM2_TLS_ServerArgs(void* userCtx, int argc, char *argv[]) } /* Bidirectional shutdown */ - while (wolfSSL_shutdown(ssl) == SSL_SHUTDOWN_NOT_DONE) { + while (wolfSSL_shutdown(ssl) == WOLFSSL_SHUTDOWN_NOT_DONE) { printf("Shutdown not complete\n"); } @@ -583,7 +583,7 @@ int TPM2_TLS_ServerArgs(void* userCtx, int argc, char *argv[]) if (ssl != NULL) { /* Bidirectional shutdown */ - while (wolfSSL_shutdown(ssl) == SSL_SHUTDOWN_NOT_DONE) { + while (wolfSSL_shutdown(ssl) == WOLFSSL_SHUTDOWN_NOT_DONE) { printf("Shutdown not complete\n"); }