Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: remove fail_if_no_peer_cert from example #227

Merged
merged 1 commit into from
Oct 29, 2023

Conversation

woylie
Copy link
Contributor

@woylie woylie commented Jul 10, 2023

The code example for an SSL connection included the fail_if_no_peer_cert option. However, that is an option for the server side. If used in a client, this will result in the error {:error, {:option, :server_only, :fail_if_no_peer_cert}} in OTP 26 (see https://www.erlang.org/blog/otp-26-highlights/#ssl-improved-checking-of-options).

@ono ono merged commit b628320 into pma:main Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants