diff --git a/Data/X509/Validation.hs b/Data/X509/Validation.hs
--- a/Data/X509/Validation.hs
+++ b/Data/X509/Validation.hs
@@ -354,11 +354,10 @@
         -- character to the fqhn and inevitably will fail.
         --
         -- e.g. *.*.server.com will try to litteraly match the '*' subdomain of server.com
+        --
+        -- Also '*' is not accepted as a valid wildcard
         wildcardMatch l
-            -- <star>.com or <star> is always invalid
-            | length l < 2 = [InvalidWildcard]
-            -- some TLD like .uk got small subTLD like (.co.uk), and we don't want to accept *.co.uk
-            | length (head l) <= 2 && length (head $ drop 1 l) <= 3 && length l < 3 = [InvalidWildcard]
+            | null l                                         = [InvalidWildcard] -- * is always invalid
             | l == take (length l) (reverse $ splitDot fqhn) = [] -- success: we got a match
             | otherwise                                      = [NameMismatch fqhn]
 
diff --git a/Data/X509/Validation/Types.hs b/Data/X509/Validation/Types.hs
--- a/Data/X509/Validation/Types.hs
+++ b/Data/X509/Validation/Types.hs
@@ -11,8 +11,9 @@
     , HostName
     ) where
 
-import Network.BSD (HostName)
 import Data.ByteString (ByteString)
+
+type HostName = String
 
 -- | identification of the connection consisting of the
 -- fully qualified host name (e.g. www.example.com) and
diff --git a/x509-validation.cabal b/x509-validation.cabal
--- a/x509-validation.cabal
+++ b/x509-validation.cabal
@@ -1,5 +1,5 @@
 Name:                x509-validation
-Version:             1.6.0
+Version:             1.6.1
 Description:         X.509 Certificate and CRL validation
 License:             BSD3
 License-file:        LICENSE
@@ -18,12 +18,8 @@
                    , bytestring
                    , memory
                    , byteable
-                   , network
                    , mtl
                    , containers
-                   , directory
-                   , filepath
-                   , process
                    , hourglass
                    , data-default-class
                    , pem >= 0.1 && < 0.3
