Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Matrix Ruby SDK
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexander Olofsson
Matrix Ruby SDK
Commits
8cee310a
Verified
Commit
8cee310a
authored
5 years ago
by
Alexander Olofsson
Browse files
Options
Downloads
Patches
Plain Diff
Fix SSL verification not being possible to enable
Fixes #9
parent
129971ab
No related branches found
No related tags found
No related merge requests found
Pipeline
#9180
failed
5 years ago
Stage: test
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
lib/matrix_sdk/api.rb
+1
-1
1 addition, 1 deletion
lib/matrix_sdk/api.rb
with
2 additions
and
1 deletion
CHANGELOG.md
+
1
−
0
View file @
8cee310a
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
all state, as it now requires a state key. For retrieving full room state,
all state, as it now requires a state key. For retrieving full room state,
`#get_room_state_all`
is now the method to use.
`#get_room_state_all`
is now the method to use.
-
Changes some advanced parameters to named parameters, ensure your code is updated if it makes use of them
-
Changes some advanced parameters to named parameters, ensure your code is updated if it makes use of them
-
Fixes SSL verification to actually verify certs (#9)
-
Adds multiple CS API endpoints
-
Adds multiple CS API endpoints
-
Adds
`:room_id`
key to all room events
-
Adds
`:room_id`
key to all room events
...
...
This diff is collapsed.
Click to expand it.
lib/matrix_sdk/api.rb
+
1
−
1
View file @
8cee310a
...
@@ -335,7 +335,7 @@ module MatrixSdk
...
@@ -335,7 +335,7 @@ module MatrixSdk
@http
.
open_timeout
=
open_timeout
@http
.
open_timeout
=
open_timeout
@http
.
read_timeout
=
read_timeout
@http
.
read_timeout
=
read_timeout
@http
.
use_ssl
=
homeserver
.
scheme
==
'https'
@http
.
use_ssl
=
homeserver
.
scheme
==
'https'
@http
.
verify_mode
=
validate_certificate
?
::
OpenSSL
::
SSL
::
VERIFY_
NONE
:
nil
@http
.
verify_mode
=
validate_certificate
?
::
OpenSSL
::
SSL
::
VERIFY_
PEER
:
::
OpenSSL
::
SSL
::
VERIFY_NONE
@http
.
start
@http
.
start
@http
@http
end
end
...
...
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