[gnutls-devel] GnuTLS | Avoid abort() in lib/extras/hex.c (#604)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Fri Nov 2 19:26:26 CET 2018


The `abort()` in `hexchar()` is an impossible situation so it is unreachable code. We can certainly remove it. In nettle lib and `pbkdf1_md5()` using assert is more appropriate (again impossible situations, but good to have I think as they may reveal bugs in future rewrites).

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/604#note_114163934
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20181102/88e115c7/attachment.html>


More information about the Gnutls-devel mailing list