]> Savannah Git Hosting - gnulib.git/commitdiff
af_alg: Improve comments.
authorBruno Haible <bruno@clisp.org>
Sun, 6 May 2018 00:39:38 +0000 (02:39 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 6 May 2018 00:39:38 +0000 (02:39 +0200)
* lib/af_alg.c (afalg_stream): Improve comment about kernel bug.

ChangeLog
lib/af_alg.c

index fd07f8b441aace6ea0404552bdea111693eb9ac0..8230d84700371abdb10abd963d1b32c526c4b4db 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-05-05  Bruno Haible  <bruno@clisp.org>
+
+       af_alg: Improve comments.
+       * lib/af_alg.c (afalg_stream): Improve comment about kernel bug.
+
 2018-05-05  Bruno Haible  <bruno@clisp.org>
 
        af_alg: New module.
index dc3ac6aa1533f1525b45cf5312af9bcd282742b1..3b35e019b4ab4ad5edef83f0c0dd6563bfc81e71 100644 (file)
@@ -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;