25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
303B

  1. module CryptCheck
  2. module Tls
  3. module Https
  4. class Grade < Tls::Grade
  5. private
  6. def calculate_success
  7. super
  8. @success << :hsts if @server.hsts?
  9. @success << :hsts_long if @server.hsts_long?
  10. end
  11. def all_success
  12. super + %i(hsts hsts_long)
  13. end
  14. end
  15. end
  16. end
  17. end