fixed segfault in AES DecryptStream