Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
cwaldren-ld committed May 10, 2024
1 parent 272cfa7 commit 372b2e6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ LDClientHttpPropertiesTlsBuilder_Free(LDClientHttpPropertiesTlsBuilder b);
* use-case calls for it.
*
* @param b Client config builder. Must not be NULL.
* @param skip_verify_peer False to skip verification.
* @param skip_verify_peer True to skip verification.
*/
LD_EXPORT(void)
LDClientHttpPropertiesTlsBuilder_SkipVerifyPeer(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ LDServerHttpPropertiesTlsBuilder_Free(LDServerHttpPropertiesTlsBuilder b);
* use-case calls for it.
*
* @param b Server config builder. Must not be NULL.
* @param skip_verify_peer False to skip verification.
* @param skip_verify_peer True to skip verification.
*/
LD_EXPORT(void)
LDServerHttpPropertiesTlsBuilder_SkipVerifyPeer(
Expand Down
7 changes: 4 additions & 3 deletions libs/server-sent-events/include/launchdarkly/sse/client.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,10 @@ class Builder {
Builder& errors(ErrorCallback callback);

/**
* If connecting to a TLS endpoint, whether to verify the remote
* peer's certificates.
* @param verify_peer True to verify the peer, false otherwise.
* If connecting to an endpoint with TLS, whether to skip verifying the
* remote peer's certificates. Verification is enabled by default.
*
* @param verify_peer True to skip verification, false to verify.
* @return Reference to this builder.
*/
Builder& skip_verify_peer(bool skip_verify_peer);
Expand Down

0 comments on commit 372b2e6

Please sign in to comment.