You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
249B

  1. module CryptCheck
  2. module Tls
  3. module Https
  4. class Grade < Tls::Grade
  5. def checks
  6. super + [
  7. [:hsts, Proc.new { |s| s.hsts? }, :good],
  8. [:hsts_long, Proc.new { |s| s.hsts_long? }, :perfect],
  9. ]
  10. end
  11. end
  12. end
  13. end
  14. end