[gnutls-devel] GnuTLS | Handle private keys with lowercase hex digits in DEK-Info (!1655)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Tue Oct 18 05:45:53 CEST 2022
Daiki Ueno started a new discussion on lib/x509/privkey_openssl.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1655#note_1139016211
> x = (*c) - '0';
> else if (*c >= 'A' && *c <= 'F')
> x = (*c) - 'A' + 10;
> + else if (*c >= 'a' && *c <= 'f')
I suppose we could simply write `c_isxdigit(*c)`.
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1655#note_1139016211
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gnutls-devel