Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gajim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Weblate
gajim
Commits
359d3c30
Commit
359d3c30
authored
13 years ago
by
Yann Leboulanger
Browse files
Options
Downloads
Patches
Plain Diff
check that pyopenssl > 0.12 is installed before using fonctions available after this version
parent
8e72a239
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/common/check_X509.py
+4
-0
4 additions, 0 deletions
src/common/check_X509.py
src/features_window.py
+2
-2
2 additions, 2 deletions
src/features_window.py
with
6 additions
and
2 deletions
src/common/check_X509.py
+
4
−
0
View file @
359d3c30
...
...
@@ -4,6 +4,10 @@ log = logging.getLogger('gajim.c.check_X509')
try
:
import
OpenSSL.SSL
import
OpenSSL.crypto
ver
=
OpenSSL
.
__version__
ver_l
=
[
int
(
i
)
for
i
in
ver
.
split
(
'
.
'
)]
if
ver_l
<
[
0
,
12
]:
raise
ImportError
from
pyasn1.type
import
univ
,
constraint
,
char
,
namedtype
,
tag
from
pyasn1.codec.der.decoder
import
decode
from
common.helpers
import
prep
,
InvalidFormat
...
...
This diff is collapsed.
Click to expand it.
src/features_window.py
+
2
−
2
View file @
359d3c30
...
...
@@ -49,8 +49,8 @@ class FeaturesWindow:
self
.
features
=
{
_
(
'
SSL certificate validation
'
):
(
self
.
pyopenssl_available
,
_
(
'
A library used to validate server certificates to ensure a secure connection.
'
),
_
(
'
Requires python-pyopenssl.
'
),
_
(
'
Requires python-pyopenssl.
'
)),
_
(
'
Requires python-pyopenssl
> 0.12 and pyasn1
.
'
),
_
(
'
Requires python-pyopenssl
> 0.12 and pyasn1
.
'
)),
_
(
'
Bonjour / Zeroconf
'
):
(
self
.
zeroconf_available
,
_
(
'
Serverless chatting with autodetected clients in a local network.
'
),
_
(
'
Requires python-avahi.
'
),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment