Fix copy for CCM, GCM and XTS.
authorDr. Stephen Henson <steve@openssl.org>
Mon, 30 Jun 2014 11:57:29 +0000 (12:57 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 30 Jun 2014 13:00:00 +0000 (14:00 +0100)
commitc28b055a0c36bc7d062255fd34bf72a9c6188a25
tree7dfc7dc270dbe2621137c9b8a317c11e3c09f79a
parent02e8d46119e524f0cdcdd57f673453a2f92fa961
Fix copy for CCM, GCM and XTS.

Internal pointers in CCM, GCM and XTS contexts should either be
NULL or set to point to the appropriate key schedule. This needs
to be adjusted when copying contexts.
(cherry picked from commit c2fd5d79ffc4fc9d120a0faad579ce96473e6a2f)
crypto/evp/e_aes.c