On Mon, Apr 24, 2023 at 10:55:06AM -0600, Theo Buehler wrote:
> CVSROOT:      /cvs
> Module name:  src
> Changes by:   t...@cvs.openbsd.org    2023/04/24 10:55:06
> 
> Modified files:
>       lib/libssl     : ssl_tlsext.c 
> 
> Log message:
> Free and calloc() the tlsext_build_order and remember its length
> 
> Aligns tlsext_randomize_build_order() with tlsext_linearize_build_order()
> and will help regression testing.
> 
> ok jsing

Does not compile without the following:

Index: ssl_local.h
===================================================================
RCS file: /cvs/src/lib/libssl/ssl_local.h,v
retrieving revision 1.4
diff -u -p -r1.4 ssl_local.h
--- ssl_local.h 23 Apr 2023 18:51:53 -0000      1.4
+++ ssl_local.h 25 Apr 2023 05:13:01 -0000
@@ -975,6 +975,7 @@ struct ssl_st {
        unsigned int max_send_fragment;
 
        const struct tls_extension **tlsext_build_order;
+       size_t tlsext_build_order_len;
        char *tlsext_hostname;
 
        /* certificate status request info */

Reply via email to