Skip to content

Commit 15abea7

Browse files
committed
Use 1 instead of TRUE
1 parent 337cddf commit 15abea7

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/internal.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6816,7 +6816,7 @@ int SetSSL_CTX(WOLFSSL* ssl, WOLFSSL_CTX* ctx, int writeDup)
68166816
return ret;
68176817
}
68186818

6819-
ssl->buffers.weOwnCert = TRUE;
6819+
ssl->buffers.weOwnCert = 1;
68206820
ret = WOLFSSL_SUCCESS;
68216821
}
68226822
if (ctx->certChain != NULL) {
@@ -6830,7 +6830,7 @@ int SetSSL_CTX(WOLFSSL* ssl, WOLFSSL_CTX* ctx, int writeDup)
68306830
return ret;
68316831
}
68326832

6833-
ssl->buffers.weOwnCertChain = TRUE;
6833+
ssl->buffers.weOwnCertChain = 1;
68346834
ret = WOLFSSL_SUCCESS;
68356835
}
68366836
#else

src/ssl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20164,7 +20164,7 @@ WOLFSSL_CTX* wolfSSL_set_SSL_CTX(WOLFSSL* ssl, WOLFSSL_CTX* ctx)
2016420164
return NULL;
2016520165
}
2016620166

20167-
ssl->buffers.weOwnCert = TRUE;
20167+
ssl->buffers.weOwnCert = 1;
2016820168
ret = WOLFSSL_SUCCESS;
2016920169
}
2017020170
if (ctx->certChain != NULL) {
@@ -20178,7 +20178,7 @@ WOLFSSL_CTX* wolfSSL_set_SSL_CTX(WOLFSSL* ssl, WOLFSSL_CTX* ctx)
2017820178
return NULL;
2017920179
}
2018020180

20181-
ssl->buffers.weOwnCertChain = TRUE;
20181+
ssl->buffers.weOwnCertChain = 1;
2018220182
ret = WOLFSSL_SUCCESS;
2018320183
}
2018420184
#else

0 commit comments

Comments
 (0)