mirror of https://github.com/wolfSSL/wolfTPM.git
Merge pull request #341 from night1rider/Coexist_TLS_Example
Fix TLS examples to not use openssl compatibility macrospull/344/head
commit
6a5316f17f
|
@ -594,7 +594,7 @@ exit:
|
|||
}
|
||||
|
||||
/* Bidirectional shutdown */
|
||||
while (wolfSSL_shutdown(ssl) == SSL_SHUTDOWN_NOT_DONE) {
|
||||
while (wolfSSL_shutdown(ssl) == WOLFSSL_SHUTDOWN_NOT_DONE) {
|
||||
printf("Shutdown not complete\n");
|
||||
}
|
||||
|
||||
|
|
|
@ -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 @@ exit:
|
|||
|
||||
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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue