Skip to content

Commit e4c4b0e

Browse files
committed
Merge branch 'fixes-v4.20-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
Pull integrity fix from James Morris: "Fix a bug introduced with in this merge window in 82f94f2 ("KEYS: Provide software public key query function [ver #2]")" * 'fixes-v4.20-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security: integrity: support new struct public_key_signature encoding field
2 parents 3472f66 + fd35f19 commit e4c4b0e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

security/integrity/digsig_asymmetric.c

+1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ int asymmetric_verify(struct key *keyring, const char *sig,
106106

107107
pks.pkey_algo = "rsa";
108108
pks.hash_algo = hash_algo_name[hdr->hash_algo];
109+
pks.encoding = "pkcs1";
109110
pks.digest = (u8 *)data;
110111
pks.digest_size = datalen;
111112
pks.s = hdr->sig;

0 commit comments

Comments
 (0)