mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Merge crypto tree to pick up scompress and ahash fixes. The scompress fix becomes mostly unnecessary as the bugs no longer exist with the new acompress code. However, keep the NULL assignment in crypto_acomp_free_streams so that if the user decides to call crypto_acomp_alloc_streams again it will work.
This commit is contained in:
@@ -483,6 +483,7 @@ void crypto_acomp_free_streams(struct crypto_acomp_streams *s)
|
||||
void (*free_ctx)(void *);
|
||||
int i;
|
||||
|
||||
s->streams = NULL;
|
||||
if (!streams)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user