[gnutls-devel] GnuTLS | gnutls-cli: enable CRL validation on startup (964f4a8d)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Fri Sep 21 13:01:28 CEST 2018


Tim Rühsen started a new discussion on src/cli.c:

>  
>  	if (local_buffer_ptr[0] == inline_commands_prefix[0]
>  	    && inline_cmds->lf_found) {
> -		for (jj = 0; jj < NUM_INLINE_COMMANDS; jj++) {
> +		for (jj = 0; jj < (ssize_t)NUM_INLINE_COMMANDS; jj++) {

Why not `for (unsigned jj = 0; jj < NUM_INLINE_COMMANDS; ...` ? You could also leave away the (unsigned) cast in the NUM_INLINE_COMMAND definition.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/commit/964f4a8dee68c5a14ea31d8e506f3339d7bcbf83#note_103369128
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/20180921/51607277/attachment.html>


More information about the Gnutls-devel mailing list