diff options
-rw-r--r-- | lib/digsig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/digsig.c b/lib/digsig.c index 2f31e6a45f0a..8793aeda30ca 100644 --- a/lib/digsig.c +++ b/lib/digsig.c | |||
@@ -209,7 +209,7 @@ int digsig_verify(struct key *keyring, const char *sig, int siglen, | |||
209 | kref = keyring_search(make_key_ref(keyring, 1UL), | 209 | kref = keyring_search(make_key_ref(keyring, 1UL), |
210 | &key_type_user, name); | 210 | &key_type_user, name); |
211 | if (IS_ERR(kref)) | 211 | if (IS_ERR(kref)) |
212 | key = ERR_PTR(PTR_ERR(kref)); | 212 | key = ERR_CAST(kref); |
213 | else | 213 | else |
214 | key = key_ref_to_ptr(kref); | 214 | key = key_ref_to_ptr(kref); |
215 | } else { | 215 | } else { |