* lib/af_alg.c (afalg_stream): Close leak.
2018-05-09 Paul Eggert <eggert@cs.ucla.edu>
+ af_alg: fix file descriptor leak
+ * lib/af_alg.c (afalg_stream): Close leak.
+
af_alg: Pacify --enable-gcc-warnings on GCC 8
* lib/af_alg.c (afalg_buffer, afalg_stream): Reorder local decls
and checking to pacify gcc -Wjump-misses-init on GCC 8.
-/* af_alg.c - Functions to compute message digest from file streams using
- Linux kernel crypto API.
+/* af_alg.c - Compute message digests from file streams and buffers.
Copyright (C) 2018 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
#else
result = -errno;
#endif
- goto out_cfd;
+ goto out_ofd;
}
off_t nbytes = st.st_size - lseek (fd, 0, SEEK_CUR);