Hash :
c08a99b5
Author :
Date :
2018-06-25T00:41:03
af_alg: Fix state of stream after sendfile() succeeds. * lib/af_alg.c (afalg_stream): Invoke fflush and lseek, to ensure that the stream is correctly positioned afterwards. * modules/crypto/af_alg (Depends-on): Add fflush. * tests/test-digest.h (test_digest_on_files): Verify that after the operation the stream is positioned at end of file.
Description:
Compute message digest using kernel-supported cryptography algorithms.
Files:
lib/af_alg.h
lib/af_alg.c
lib/sys-limits.h
m4/af_alg.m4
Depends-on:
c99 [test $USE_AF_ALG = 1]
fflush [test $USE_AF_ALG = 1]
fseeko [test $USE_AF_ALG = 1]
ftello [test $USE_AF_ALG = 1]
sys_socket
sys_stat
configure.ac:
gl_AF_ALG
Makefile.am:
lib_SOURCES += af_alg.c
Include:
"af_alg.h"
License:
LGPLv2+
Maintainer:
all