aboutsummaryrefslogtreecommitdiffstats
path: root/algorithm_output_size.c
diff options
context:
space:
mode:
Diffstat (limited to 'algorithm_output_size.c')
-rw-r--r--algorithm_output_size.c3
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;
}
}