packages feed

tls-extra 0.1.6 → 0.1.7

raw patch · 2 files changed

+3/−3 lines, 2 files

Files

Network/TLS/Extra/Certificate.hs view
@@ -138,9 +138,9 @@ 		-- they won't have a wildcard meaning but will be match as normal star 		-- character to the fqhn and inevitably will fail. 		wildcardMatch l-			-- * or *.com is always invalid+			-- <star>.com or <star> is always invalid 			| length l < 2                         = False-			-- *.com.<country> is always invalid+			-- <star>.com.<country> is always invalid 			| length (head l) <= 2 && length (head $ drop 1 l) <= 3 && length l < 3 = False 			| otherwise                            = 				l == take (length l) (reverse $ splitDot fqhn)
tls-extra.cabal view
@@ -1,5 +1,5 @@ Name:                tls-extra-Version:             0.1.6+Version:             0.1.7 Description:    a set of extra definitions, default values and helpers for tls. License:             BSD3