Fix af_alg engine failure on 32 bit architectures.
authorTomas Mraz <tmraz@fedoraproject.org>
Tue, 9 Aug 2016 10:50:13 +0000 (12:50 +0200)
committerMatt Caswell <matt@openssl.org>
Mon, 15 Aug 2016 22:30:45 +0000 (23:30 +0100)
commit3f8d1216df7a4314fca77b6ee6fe9fc814fcd909
treeb0d75a31969c89544a0ad829172d08f76289f19c
parentbb982ce7532eb5f5f8d66211d556940a7f407496
Fix af_alg engine failure on 32 bit architectures.

Add extra cast to unsigned long to avoid sign extension when
converting pointer to 64 bit data.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
engines/afalg/e_afalg.c