Fix VMS/openssl_{startup,shutddown}.com.in
[openssl.git] / ssl / t1_enc.c
index 21eb3283da6682a7ff610c46d3447a475e0cf5e4..6e56441d0fba2ec50d20298772aadae420b558ec 100644 (file)
 
 #include <stdio.h>
 #include "ssl_locl.h"
-#ifndef OPENSSL_NO_COMP
-# include <openssl/comp.h>
-#endif
+#include <openssl/comp.h>
 #include <openssl/evp.h>
 #include <openssl/kdf.h>
 #include <openssl/rand.h>
@@ -260,8 +258,6 @@ int tls1_change_cipher_state(SSL *s, int which)
                        SSL_R_COMPRESSION_LIBRARY_ERROR);
                 goto err2;
             }
-            if (!RECORD_LAYER_setup_comp_buffer(&s->rlayer))
-                goto err;
         }
 #endif
         /*