diff options
Diffstat (limited to 'ssl/record/rec_layer.h')
-rw-r--r-- | ssl/record/rec_layer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ssl/record/rec_layer.h b/ssl/record/rec_layer.h index 1284290e84..19fe04870c 100644 --- a/ssl/record/rec_layer.h +++ b/ssl/record/rec_layer.h @@ -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) |