[LTP] [PATCH v3 26/36] keyctl30: Test KEYCTL_PKEY_QUERY on private key

Petr Vorel pvorel@suse.cz
Fri Sep 18 18:55:26 CEST 2026


Hi Cyril,

> Hi!
> > +static void run(void)
> > +{
> > +	memset(query_buf, 0, sizeof(*query_buf));
> > +
> > +	TST_EXP_EQ_LI_SILENT(keyctl(KEYCTL_PKEY_QUERY, (unsigned long)priv_key,
> > +				    0, (unsigned long)"enc=pkcs1",
> > +				    (unsigned long)query_buf), 0);
> > +	if (!TST_PASS)
> > +		return;

> Here as well, TST_EXP_PASS()?

> Otherwise:

> Reviewed-by: Cyril Hrubis <chrubis@suse.cz>

Fixed and merged up to here.

The rest will have to wait till Monday or after release.
(I'd prefer to finish merging up to keyctl37.c on Monday if we both have time).

Kind regards,
Petr


More information about the ltp mailing list