summaryrefslogtreecommitdiff
path: root/lib/af_alg.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2018-05-06 02:39:38 +0200
committerBruno Haible <bruno@clisp.org>2018-05-06 02:39:38 +0200
commit9366d9d9be71000baed071213f7ad277e6131032 (patch)
tree616e52ee6515d7304f00f139527895c2184234d3 /lib/af_alg.c
parent459221a854b083ca9709e65de463dd05b1101851 (diff)
downloadgnulib-9366d9d9be71000baed071213f7ad277e6131032.tar.gz
af_alg: Improve comments.
* lib/af_alg.c (afalg_stream): Improve comment about kernel bug.
Diffstat (limited to 'lib/af_alg.c')
-rw-r--r--lib/af_alg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/af_alg.c b/lib/af_alg.c
index dc3ac6aa15..3b35e019b4 100644
--- a/lib/af_alg.c
+++ b/lib/af_alg.c
@@ -96,8 +96,8 @@ afalg_stream (FILE *stream, const char *alg, void *resblock, ssize_t hashlen)
ret = -EIO;
goto out_ofd;
}
- /* On Linux 4.4.0 at least, the value for an empty stream is wrong
- (all zeroes). */
+ /* On Linux < 4.9, the value for an empty stream is wrong (all zeroes).
+ See <https://patchwork.kernel.org/patch/9434741/>. */
if (!non_empty)
{
ret = -EAFNOSUPPORT;