Raise an error on syscall failure in tls_retry_write_records
[openssl.git] / include / openssl / configuration.h.in
index e4d4f526b3b265de72bd35f1021a49f317e8abb1..86077d0a6f5d6b6b06bb32b2d1d96a2958227b62 100644 (file)
@@ -27,9 +27,9 @@ extern "C" {
 
 {- if (@{$config{openssl_sys_defines}}) {
       foreach (@{$config{openssl_sys_defines}}) {
-       $OUT .= "# ifndef $_\n";
-       $OUT .= "#  define $_ 1\n";
-       $OUT .= "# endif\n";
+        $OUT .= "# ifndef $_\n";
+        $OUT .= "#  define $_ 1\n";
+        $OUT .= "# endif\n";
       }
     }
     foreach (@{$config{openssl_api_defines}}) {
@@ -38,9 +38,9 @@ extern "C" {
     }
     if (@{$config{openssl_feature_defines}}) {
       foreach (@{$config{openssl_feature_defines}}) {
-       $OUT .= "# ifndef $_\n";
-       $OUT .= "#  define $_\n";
-       $OUT .= "# endif\n";
+        $OUT .= "# ifndef $_\n";
+        $OUT .= "#  define $_\n";
+        $OUT .= "# endif\n";
       }
     }
     "";
@@ -62,6 +62,12 @@ extern "C" {
 
 # define RC4_INT {- $config{rc4_int} -}
 
+# if defined(OPENSSL_NO_COMP) || (defined(OPENSSL_NO_BROTLI) && defined(OPENSSL_NO_ZSTD) && defined(OPENSSL_NO_ZLIB))
+#  define OPENSSL_NO_COMP_ALG
+# else
+#  undef  OPENSSL_NO_COMP_ALG
+# endif
+
 # ifdef  __cplusplus
 }
 # endif