Re: af_alg: Fail in continuable manner on Linux/powerpc64le

2018-06-24 Thread Pádraig Brady
On 24/06/18 19:32, Bruno Haible wrote: > This fixes the error message reported by Assaf Gordon on non-seekable > input. > > Four approaches come to mind for fixing this: > 1) Change the afalg_stream signature, adding an argument where the function > can store read but not yet processed input.

af_alg: Fail in continuable manner on Linux/powerpc64le

2018-06-24 Thread Bruno Haible
bytes returned by freadptr, instead of fread(). The first two approaches would be a major code change, for just a little particular case. I prefer the third approach. 2018-06-24 Bruno Haible af_alg: Fail in continuable manner on Linux/powerpc64le. Reported by Assaf Gordon