Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
aad497cb
Commit
aad497cb
authored
Aug 24, 2021
by
Edward Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
openssl: dynamically load on macOS
parent
e265eb2f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/streams/openssl_dynamic.c
+2
-0
No files found.
src/streams/openssl_dynamic.c
View file @
aad497cb
...
@@ -122,7 +122,9 @@ int git_openssl_stream_dynamic_init(void)
...
@@ -122,7 +122,9 @@ int git_openssl_stream_dynamic_init(void)
int
err
=
0
;
int
err
=
0
;
if
((
openssl_handle
=
dlopen
(
"libssl.so.1.1"
,
RTLD_NOW
))
==
NULL
&&
if
((
openssl_handle
=
dlopen
(
"libssl.so.1.1"
,
RTLD_NOW
))
==
NULL
&&
(
openssl_handle
=
dlopen
(
"libssl.1.1.dylib"
,
RTLD_NOW
))
==
NULL
&&
(
openssl_handle
=
dlopen
(
"libssl.so.1.0.0"
,
RTLD_NOW
))
==
NULL
&&
(
openssl_handle
=
dlopen
(
"libssl.so.1.0.0"
,
RTLD_NOW
))
==
NULL
&&
(
openssl_handle
=
dlopen
(
"libssl.1.0.0.dylib"
,
RTLD_NOW
))
==
NULL
&&
(
openssl_handle
=
dlopen
(
"libssl.so.10"
,
RTLD_NOW
))
==
NULL
)
{
(
openssl_handle
=
dlopen
(
"libssl.so.10"
,
RTLD_NOW
))
==
NULL
)
{
git_error_set
(
GIT_ERROR_SSL
,
"could not load ssl libraries"
);
git_error_set
(
GIT_ERROR_SSL
,
"could not load ssl libraries"
);
return
-
1
;
return
-
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment