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-devel
Commits
1e4039cb
Commit
1e4039cb
authored
Oct 01, 2008
by
Leigh B. Stoller
Browse files
Minor change for encrypted certs.
parent
2e3f0abc
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/getsslcert.php3
View file @
1e4039cb
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-200
7
University of Utah and the Flux Group.
# Copyright (c) 2000-200
8
University of Utah and the Flux Group.
# All rights reserved.
#
include
(
"defs.php3"
);
...
...
@@ -36,7 +36,8 @@ if (!$isadmin && !$target_user->SameUser($this_user)) {
}
$query_result
=&
$target_user
->
TableLookUp
(
"user_sslcerts"
,
"cert,privkey"
,
"encrypted=1"
);
"cert,privkey"
,
"encrypted=1 and status='valid'"
);
if
(
!
mysql_num_rows
(
$query_result
))
{
PAGEHEADER
(
"Download SSL Certificate for
$target_uid
"
);
...
...
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