Commit 276e079e authored by Tadeu Martins Chamuinho Bastos's avatar Tadeu Martins Chamuinho Bastos
Browse files

[OPENBUS-2367] Registro de certificados permite especificação de entidades de

nome vazio
- Levanta exceção BAD_PARAM (minor code 0) caso o identificador da entidade seja

git-svn-id: ae0415b3-e90b-0410-900d-d0be9363c56b
parent 4c021a50
......@@ -115,6 +115,9 @@ end
-- IDL operations
function CertificateRegistry:registerCertificate(entity, certificate)
if entity == "" then
BAD_PARAM{ completed = "COMPLETED_NO", minor = 0 }
local certobj, errmsg = decodecertificate(certificate)
if not certobj then
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment