diff options
| author | Allan Jude <allanjude@FreeBSD.org> | 2019-05-21 22:11:53 +0000 |
|---|---|---|
| committer | Allan Jude <allanjude@FreeBSD.org> | 2019-05-21 22:11:53 +0000 |
| commit | f26f4cf1700142de97990ceddfbc9e18ac2d3949 (patch) | |
| tree | 930651da5da8fe63cb54f1f1eef58dc8aa898887 /lib/libmd/ripemd.3 | |
| parent | 57e9b361baff42bec76f8bbb5dfa6ae6623382e3 (diff) | |
Notes
Diffstat (limited to 'lib/libmd/ripemd.3')
| -rw-r--r-- | lib/libmd/ripemd.3 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/libmd/ripemd.3 b/lib/libmd/ripemd.3 index e4c5fa4a41c8..54cdf73ecc8d 100644 --- a/lib/libmd/ripemd.3 +++ b/lib/libmd/ripemd.3 @@ -124,6 +124,26 @@ after use. If the .Fa buf argument is non-null it must point to at least 41 characters of buffer space. +.Sh ERRORS +The +.Fn RIPEMD160_End +function called with a null buf argument may fail and return NULL if: +.Bl -tag -width Er +.It Bq Er ENOMEM +Insufficient storage space is available. +.El +.Pp +The +.Fn RIPEMD160_File +and +.Fn RIPEMD160_FileChunk +may return NULL when underlying +.Xr open 2 , +.Xr fstat 2 , +.Xr lseek 2 , +or +.Xr RIPEMD160_End 2 +fail. .Sh SEE ALSO .Xr md4 3 , .Xr md5 3 , |
