Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xavier Thompson
neoppod
Commits
c94f2ed5
Commit
c94f2ed5
authored
Dec 09, 2020
by
Kirill Smelkov
Committed by
Levin Zimmermann
Jun 15, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
c62ac84a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
neo/lib/app.py
neo/lib/app.py
+1
-0
No files found.
neo/lib/app.py
View file @
c94f2ed5
...
@@ -73,6 +73,7 @@ class BaseApplication(object):
...
@@ -73,6 +73,7 @@ class BaseApplication(object):
" provided: the CA certificate, and the certificate"
" provided: the CA certificate, and the certificate"
" of this node with its private key."
)
" of this node with its private key."
)
ca
,
cert
,
key
=
ssl
ca
,
cert
,
key
=
ssl
self
.
ssl_credentials
=
ssl
# remember ca/cert/key, so that zstor_2zurl could retrive them
import
ssl
import
ssl
version
,
version_name
=
max
((
getattr
(
ssl
,
k
),
k
)
version
,
version_name
=
max
((
getattr
(
ssl
,
k
),
k
)
for
k
in
dir
(
ssl
)
if
k
.
startswith
(
"PROTOCOL_TLSv"
))
for
k
in
dir
(
ssl
)
if
k
.
startswith
(
"PROTOCOL_TLSv"
))
...
...
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