Move s->s3->wbuf to s->rlayer->wbuf
[openssl.git] / ssl / record / rec_layer.h
index 1284290..19fe048 100644 (file)
@@ -121,10 +121,12 @@ typedef struct record_layer_st {
     int read_ahead;
     /* read IO goes into here */
     SSL3_BUFFER rbuf;
+    /* write IO goes into here */
+    SSL3_BUFFER wbuf;
 } RECORD_LAYER;
 
 #define RECORD_LAYER_set_ssl(rl, s)             ((rl)->s = (s))
 #define RECORD_LAYER_set_read_ahead(rl, ra)     ((rl)->read_ahead = (ra))
 #define RECORD_LAYER_get_read_ahead(rl)         ((rl)->read_ahead)
 #define RECORD_LAYER_get_rbuf(rl)               (&(rl)->rbuf)
-#define RECORD_LAYER_get_wbuf(rl)               (&(rl)->s->s3->wbuf)
+#define RECORD_LAYER_get_wbuf(rl)               (&(rl)->wbuf)