[LTP] [PATCH v2 1/2] keyctl: Vendor struct keyctl_dh_params

Petr Vorel pvorel@suse.cz
Tue Sep 22 17:14:08 CEST 2026


...
> >  #ifndef HAVE_STRUCT_KEYCTL_DH_PARAMS
> >  struct keyctl_dh_params {
> > -       int32_t priv;
> > +       union {
> > +               int32_t priv;
> > +               int32_t private;
> > +       };
> >         int32_t prime;
> >         int32_t base;
> >  };

> And of course we have to change the ->priv to ->private to get the
> tests compiled on older distributions as well.

Sure, working on it (+ removing libkeyutils dependency, which might be too much
before release).

Kind regards,
Petr


More information about the ltp mailing list