/dev/crypto engine: give CIOCFSESSION the actual sess-id
authorRichard Levitte <levitte@openssl.org>
Mon, 24 Sep 2018 10:18:31 +0000 (12:18 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 5 Oct 2018 19:54:49 +0000 (21:54 +0200)
commit470096e576941566fd094f2fd793dc2948804ea8
tree80d37ddb3a2c0de0b53ea71eeb0008380e78291b
parent8529b156421805415bc7b17758255394de580c61
/dev/crypto engine: give CIOCFSESSION the actual sess-id

We passed that ioctl a pointer to the whole session_op structure,
which wasn't quite right.

Notified by David Legault.

Fixes #7302

Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/7304)
crypto/engine/eng_devcrypto.c