CVSROOT:        /cvs
Module name:    src
Changes by:     js...@cvs.openbsd.org   2017/09/20 11:05:17

Modified files:
        lib/libtls     : tls.c tls_internal.h tls_ocsp.c tls_server.c 

Log message:
Keep track of which keypair is in use by a TLS context.

This fixes a bug where by a TLS server with SNI would always only return
the OCSP staple for the default keypair, rather than returning the OCSP
staple associated with the keypair that was selected via SNI.

Issue reported by William Graeber and confirmed by Andreas Bartelt.

Fix tested by William Graeber and Andreas Bartelt - thanks!

Reply via email to