diff options
author | Mattias Andrée <maandree@kth.se> | 2019-02-09 21:30:06 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2019-02-09 21:30:06 +0100 |
commit | ae42e15f211feb8625450e5dcc899ae29d885ba7 (patch) | |
tree | bddb7469da7d1f32502df31e0d7c0d57aee66fde /algorithm_output_size.c | |
parent | Improve makefile: mv LIBEXT and LIBFLAGS to config.mk (diff) | |
download | libsha2-ae42e15f211feb8625450e5dcc899ae29d885ba7.tar.gz libsha2-ae42e15f211feb8625450e5dcc899ae29d885ba7.tar.bz2 libsha2-ae42e15f211feb8625450e5dcc899ae29d885ba7.tar.xz |
Fix warnings
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | algorithm_output_size.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/algorithm_output_size.c b/algorithm_output_size.c index 9089aa4..2824b55 100644 --- a/algorithm_output_size.c +++ b/algorithm_output_size.c @@ -19,6 +19,7 @@ libsha2_algorithm_output_size(enum libsha2_algorithm algorithm) case LIBSHA2_512_224: return 28; case LIBSHA2_512_256: return 32; default: - return errno = EINVAL, 0; + errno = EINVAL; + return 0; } } |