ssl_sess.c: grab a copy of the session ID
authorEmilia Kasper <emilia@openssl.org>
Thu, 1 Oct 2015 11:00:39 +0000 (13:00 +0200)
committerEmilia Kasper <emilia@openssl.org>
Mon, 5 Oct 2015 17:03:52 +0000 (19:03 +0200)
commitbf0fc41266f17311c5db1e0541d3dd12eb27deb6
treebf4b0b182e36f33b0a2ab3a97a4a914245e48739
parent38a3cbfbf728da0282c7e4ba29502740d853b1e6
ssl_sess.c: grab a copy of the session ID

The user callback takes a non-const pointer, so don't pass PACKET data
to it directly; rather, grab a local copy.

Reviewed-by: Matt Caswell <matt@openssl.org>
ssl/ssl_sess.c