[PATCH] Missing NULLs in ssl_cipher_methods init

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] Missing NULLs in ssl_cipher_methods init

Leonard den Ottolander
Hello,

The number of NULLS in the initialization of ssl_cipher_methods in
ssl/ssl_ciph.c does not match the count SSL_ENC_NUM_IDX in 1.1.0c.

Attached patch for a fix.

Regards,
Leonard.

--
mount -t life -o ro /dev/dna /genetic/research


--
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

ssl_ciph.c.diff (470 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] Missing NULLs in ssl_cipher_methods init

Salz, Rich

> The number of NULLS in the initialization of ssl_cipher_methods in
> ssl/ssl_ciph.c does not match the count SSL_ENC_NUM_IDX in 1.1.0c.

A better fix is to remove all the initializers and just count on C's "init to NULL" guarantee.
--
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev