Skip to content

Commit

Permalink
v3.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lpil committed Jan 2, 2025
1 parent 0a12323 commit b9a160a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v3.1.1 - 2025-01-02

- Fixed a bug where configuring SSL would crash.

## v3.1.0 - 2024-12-22

- Updated for `gleam_stdlib` v0.51.0.
Expand Down
2 changes: 1 addition & 1 deletion gleam.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name = "pog"
version = "3.1.0"
version = "3.1.1"
gleam = ">= 1.4.0"
licences = ["Apache-2.0"]
description = "A PostgreSQL database client for Gleam, based on PGO"
Expand Down
4 changes: 2 additions & 2 deletions src/pog_ffi.erl
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ coerce(Value) ->
default_ssl_options(Host, Ssl) ->
case Ssl of
ssl_disabled -> {false, []};
ssl_unsafe -> {true, [{verify, verify_none}]};
ssl_enabled -> {true, [
ssl_unverified -> {true, [{verify, verify_none}]};
ssl_verified -> {true, [
{verify, verify_peer},
{cacerts, public_key:cacerts_get()},
{server_name_indication, binary_to_list(Host)},
Expand Down

0 comments on commit b9a160a

Please sign in to comment.