Explorar o código

Fix the return value

Nick Mathewson %!s(int64=8) %!d(string=hai) anos
pai
achega
9459ae260e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/common/tortls.c

+ 1 - 1
src/common/tortls.c

@@ -2678,7 +2678,7 @@ dn_indicates_v3_cert(X509_NAME *name)
     return 0;
   if (len < 4) {
     OPENSSL_free(s);
-    return 0;
+    return 1;
   }
   r = fast_memneq(s + len - 4, ".net", 4);
   OPENSSL_free(s);