Skip to content

Commit

Permalink
Check test_certificates for nil (#368)
Browse files Browse the repository at this point in the history
Fix #367
  • Loading branch information
kaibolay authored Apr 30, 2024
1 parent a735c0e commit 0e1683d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def self.validate_aab_setup!(aab_info)
end

def self.aab_certs_included?(test_certificate)
present?(test_certificate.hash_md5) && present?(test_certificate.hash_sha1) &&
!test_certificate.nil? && present?(test_certificate.hash_md5) && present?(test_certificate.hash_sha1) &&
present?(test_certificate.hash_sha256)
end

Expand Down

0 comments on commit 0e1683d

Please sign in to comment.