CVSROOT:        /cvs
Module name:    src
Changes by:     js...@cvs.openbsd.org   2022/07/20 00:32:24

Modified files:
        lib/libssl     : tls13_handshake_msg.c tls13_internal.h 
                         tls13_lib.c tls13_record_layer.c tls_buffer.c 
                         tls_internal.h 

Log message:
Remove tls_buffer_set_data() and remove/revise callers.

There is no way that tls_buffer_set_data() can currently work in
conjunction with tls_buffer_expand(). This fact is currently hidden by the
way that PHH works, which reads the same data from the record layer (which
it needs to do anyway, since we may not have all of the handshake message
in a single record).

Since this is broken, mop it up and change the PHH callback to not provide
the record data.

ok beck@ tb@

Reply via email to