Skip to content

Commit

Permalink
Support openssl 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
skoppe committed Jun 16, 2023
1 parent ab77855 commit c3b4a48
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(1,3)] = &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
auto init = init_matrix.get(openssl._ver, null);
Expand Down

0 comments on commit c3b4a48

Please sign in to comment.