On Wed, Sep 4, 2013 at 5:24 PM, Vivek Goyal <vgoyal@xxxxxxxxxx> wrote: > integrity code looks for a asymmetric key in a keyring based on partial > id and not based on full description. Change the default lookup method > so that a key can be found. Thanks to David Howells for suggesting the > fix. > > Suggested-by: David Howells <dhowells@xxxxxxxxxx> > Signed-off-by: Vivek Goyal <vgoyal@xxxxxxxxxx> Shouldn't this be at the beginning of the series? All of the searching functionality needs this before it actually works, right? josh > --- > crypto/asymmetric_keys/asymmetric_type.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/crypto/asymmetric_keys/asymmetric_type.c b/crypto/asymmetric_keys/asymmetric_type.c > index cf80765..b77eb53 100644 > --- a/crypto/asymmetric_keys/asymmetric_type.c > +++ b/crypto/asymmetric_keys/asymmetric_type.c > @@ -209,6 +209,7 @@ struct key_type key_type_asymmetric = { > .match = asymmetric_key_match, > .destroy = asymmetric_key_destroy, > .describe = asymmetric_key_describe, > + .def_lookup_type = KEYRING_SEARCH_LOOKUP_ITERATE, > }; > EXPORT_SYMBOL_GPL(key_type_asymmetric); > > -- > 1.8.3.1 > > _______________________________________________ > kernel mailing list > kernel@xxxxxxxxxxxxxxxxxxxxxxx > https://admin.fedoraproject.org/mailman/listinfo/kernel _______________________________________________ kernel mailing list kernel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/kernel