view auto/lib/zlib/patch.zlib.h @ 5669:cac82b9b3499

SSL: explicit handling of empty names. X509_check_host() can't handle non null-terminated names with zero length, so make sure to fail before calling it.
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 23 Apr 2014 20:31:31 +0400
parents b1648294f693
children
line wrap: on
line source

--- zlib.h	Thu Jul  9 20:06:56 1998
+++ zlib-1.1.3/zlib.h	Tue Mar 22 13:41:04 2005
@@ -709,7 +709,6 @@
    (0 in case of error).
 */
 
-ZEXTERN int ZEXPORTVA   gzprintf OF((gzFile file, const char *format, ...));
 /*
      Converts, formats, and writes the args to the compressed file under
    control of the format string, as in fprintf. gzprintf returns the number of