]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - ssl/ssl_lib.c
Encapsulate SSL3_BUFFER and all access to s->s3->rbuf.
[thirdparty/openssl.git] / ssl / ssl_lib.c
index af31831aeca80ffbdaedb672aefdcd194e4bd82c..bec54eb17a904d113e1ee53b35c753cedde0aa4b 100644 (file)
@@ -280,6 +280,8 @@ SSL *SSL_new(SSL_CTX *ctx)
         goto err;
     memset(s, 0, sizeof(SSL));
 
+    RECORD_LAYER_set_ssl(&s->rlayer, s);
+
 #ifndef OPENSSL_NO_KRB5
     s->kssl_ctx = kssl_ctx_new();
 #endif                          /* OPENSSL_NO_KRB5 */