Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
openbus
openbus-core
Commits
3b59121d
Commit
3b59121d
authored
7 years ago
by
Amadeu Andrade Barbosa Junior
Browse files
Options
Download
Patches
Plain Diff
Revert "OPENBUS-3078 Correção no setcert do BusAdmin para aceitar nome do arquivo"
This reverts commit
f30d7ff6
.
parent
f30d7ff6
master
OPENBUS-3102
teste
02_01_00_02
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lua/openbus/core/admin/script.lua
+1
-2
lua/openbus/core/admin/script.lua
with
1 addition
and
2 deletions
+1
-2
lua/openbus/core/admin/script.lua
+
1
−
2
View file @
3b59121d
...
...
@@ -520,9 +520,8 @@ function script.delcert(entity)
end
function
script
.
setcert
(
entity
,
certificate
)
local
x509cert
=
assert
(
readfile
(
certificate
,
"rb"
))
local
certs
=
getCertificateRegistry
()
certs
:
registerCertificate
(
entity
,
x509
cert
)
certs
:
registerCertificate
(
entity
,
cert
ificate
)
return
true
end
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets