From 9366d9d9be71000baed071213f7ad277e6131032 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 6 May 2018 02:39:38 +0200 Subject: [PATCH] af_alg: Improve comments. * lib/af_alg.c (afalg_stream): Improve comment about kernel bug. --- ChangeLog | 5 +++++ lib/af_alg.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index fd07f8b441..8230d84700 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-05-05 Bruno Haible + + af_alg: Improve comments. + * lib/af_alg.c (afalg_stream): Improve comment about kernel bug. + 2018-05-05 Bruno Haible af_alg: New module. 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 . */ if (!non_empty) { ret = -EAFNOSUPPORT; -- 2.39.5