• Martin Storsjö's avatar
    dav1d: Only return 0/1 from md5_verify · 44cd6e25
    Martin Storsjö authored
    This makes the process exit codes more sensible when failing
    verification; when there's a mismatch, memcmp returns the difference
    between the two first differing bytes, which can fall outside of the
    range of normal exit codes, into the range of exit codes used when
    terminated by a signal.
md5.c 7.02 KB