hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/crypto/asymmetric_keys/x509_public_key.c
....@@ -132,6 +132,11 @@
132132 if (strcmp(cert->pub->pkey_algo, cert->sig->pkey_algo) != 0)
133133 goto out;
134134
135
+ if (cert->unsupported_sig) {
136
+ ret = 0;
137
+ goto out;
138
+ }
139
+
135140 ret = public_key_verify_signature(cert->pub, cert->sig);
136141 if (ret < 0) {
137142 if (ret == -ENOPKG) {