Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-stable
Commits
30b54d7d
Commit
30b54d7d
authored
Nov 17, 2008
by
Leigh B. Stoller
Browse files
Look for revoked flag instead of valid.
parent
4809cd65
Changes
1
Hide whitespace changes
Inline
Side-by-side
xmlrpc/sslxmlrpc_server.py.in
View file @
30b54d7d
...
...
@@ -251,7 +251,7 @@ class MyServer(SSL.ForkingSSLServer, SimpleXMLRPCDispatcher):
#
def
checkcert
(
self
,
uid_idx
,
serial
):
res
=
DBQueryFatal
(
"select idx from user_sslcerts "
"where uid_idx=%s and idx=%s and
status='valid'
"
,
"where uid_idx=%s and idx=%s and
revoked is null
"
,
(
str
(
uid_idx
),
serial
))
return
len
(
res
)
...
...
Write
Preview
Supports
Markdown
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