Skip to content

Commit 6414cf6

Browse files
committed
Update comments for new flags in settings.h
1 parent 1a4b821 commit 6414cf6

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

wolfssl/wolfcrypt/settings.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3576,11 +3576,17 @@ extern void uITRON4_free(void *p) ;
35763576
#define KEEP_PEER_CERT
35773577
#endif
35783578

3579+
/* Always copy certificate(s) from SSL CTX to each SSL object on creation,
3580+
* if this is not defined then each SSL object shares a pointer to the
3581+
* original certificate buffer owned by the SSL CTX. */
35793582
#if defined(OPENSSL_ALL) && !defined(WOLFSSL_NO_COPY_CERT)
35803583
#undef WOLFSSL_COPY_CERT
35813584
#define WOLFSSL_COPY_CERT
35823585
#endif
35833586

3587+
/* Always copy private key from SSL CTX to each SSL object on creation,
3588+
* if this is not defined then each SSL object shares a pointer to the
3589+
* original key buffer owned by the SSL CTX. */
35843590
#if defined(OPENSSL_ALL) && !defined(WOLFSSL_NO_COPY_KEY)
35853591
#undef WOLFSSL_COPY_KEY
35863592
#define WOLFSSL_COPY_KEY

0 commit comments

Comments
 (0)