Skip to content

Commit

Permalink
fix openssl version detection (mac)
Browse files Browse the repository at this point in the history
  • Loading branch information
ikod committed Jun 18, 2023
1 parent 87f1e53 commit 61734bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/requests/ssl_adapter.d
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ shared static this() {
void delegate()[Version] init_matrix;
init_matrix[Version(1,0)] = &openssl.init1_0;
init_matrix[Version(1,1)] = &openssl.init1_1;
init_matrix[Version(2,0)] = &openssl.init1_1;
init_matrix[Version(0,2)] = &openssl.init1_1; // libressl >= 2.7.1
init_matrix[Version(0,3)] = &openssl.init1_1; // libressl >= 3.0.0
init_matrix[Version(3,0)] = &openssl.init1_1; // 3.0.0
Expand Down

0 comments on commit 61734bf

Please sign in to comment.