[gnutls-devel] GnuTLS | certtool: don't output textual information if --no-text was given (!810)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Fri Nov 23 01:29:06 CET 2018


Dmitry Eremin-Solenikov commented on a discussion on src/certtool.c:

> -			fprintf(stderr, "export error: %s\n",
> -				gnutls_strerror(ret));
> -			app_exit(1);
> -		}
> -
> -		fwrite(lbuffer, 1, size, outfile);
> -
> -		gnutls_pubkey_deinit(pubkey);
> -
> -		return;
> -	}
> -
> -	/* PEM */
> -
> -	_pubkey_info(outfile, full_format, pubkey);
> +	print_pubkey_info(pubkey, outfile, full_format, outcert_format, cinfo->outtext);

Because `print_pubkey_info` is also used in `tpmtool.c` which does not use `common_info_t`.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/810#note_119508317
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/20181123/6dcc60de/attachment-0001.html>


More information about the Gnutls-devel mailing list