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

ssl: Update openssl-1.1 compatibility #1405

Merged
merged 1 commit into from
Dec 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sources/lib/ssl/c-wrapper.dylan
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ Warranty: Distributed WITHOUT WARRANTY OF ANY KIND

define C-function SSL-library-init
result success :: <C-int>;
c-name: "SSL_library_init"
c-name: "my_SSL_library_init"
end;

define C-function SSL-load-error-strings
result res :: <C-void*>;
c-name: "SSL_load_error_strings"
c-name: "my_SSL_load_error_strings"
end;

define C-function ERR-load-BIO-strings
Expand Down
8 changes: 8 additions & 0 deletions sources/lib/ssl/support.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,11 @@ long my_SSL_CTX_add_extra_chain_cert (SSL_CTX* ctx, X509* x509) {
int my_SSL_set_tlsext_host_name(SSL_CTX* ctx, char* name) {
return SSL_set_tlsext_host_name(ctx, name);
}

int my_SSL_library_init() {
return SSL_library_init();
}

void my_SSL_load_error_strings() {
SSL_load_error_strings();
}