Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
752c3e4d
Commit
752c3e4d
authored
Feb 06, 2020
by
Roger Meier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use V_FLAG_NO_CHECK_TIME flag for store
parent
3aa88de7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
lib/gitlab/x509/commit.rb
lib/gitlab/x509/commit.rb
+4
-0
No files found.
lib/gitlab/x509/commit.rb
View file @
752c3e4d
...
@@ -45,6 +45,10 @@ module Gitlab
...
@@ -45,6 +45,10 @@ module Gitlab
strong_memoize
(
:cert_store
)
do
strong_memoize
(
:cert_store
)
do
store
=
OpenSSL
::
X509
::
Store
.
new
store
=
OpenSSL
::
X509
::
Store
.
new
store
.
set_default_paths
store
.
set_default_paths
# valid_signing_time? checks the time attributes already
# this flag is required, otherwise expired certificates would become
# unverified when notAfter within certificate attribute is reached
store
.
flags
=
OpenSSL
::
X509
::
V_FLAG_NO_CHECK_TIME
store
store
end
end
end
end
...
...
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