Re: [PATCH v2 2/3] libkmod: Return module signature information in kmod_module_get_info()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michal Marek <mmarek@xxxxxxx> wrote:

> +		if (sig_info.algo) {

I wouldn't compare against 0.

	my $algo = 1;		# Public-key crypto algorithm: RSA

> +		if (sig_info.id_type) {

	my $id_type = 1;	# Identifier type: X.509

Though I'd compare against PKEY_ALGO_RSA and PKEY_ID_X509 if they're available
to you rather than 1 and 1.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux