Michal Marek <[email protected]> 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html