Permalink
Browse files

dcp_inspect: Signature error messages formatting

  • Loading branch information...
1 parent 1b96561 commit eaf3b8b530d804dc0f5d3ed142477f526cf9cd1d @wolfgangw committed May 11, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 dcp_inspect
View
@@ -1718,9 +1718,7 @@ def errors_signature_verification( errors, signature_result, asset, file )
errors << "Signature: #{ asset }: #{ file }: #{ signature_result.crypto.errors[ :context ].inspect }"
end
else
- signature_result.messages.each do |message|
- errors << "Signature: #{ asset }: #{ file }: #{ message }"
- end
+ errors << "Signature verification failure: #{ asset }: #{ file }:\n\t#{ signature_result.messages.join( "\n\t" ) }"
end
return errors
end

0 comments on commit eaf3b8b

Please sign in to comment.