diff options
author | Dmitry Kasatkin <dmitry.kasatkin@intel.com> | 2012-01-17 10:12:03 -0500 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2012-01-17 18:46:21 -0500 |
commit | 5e8898e97a5db4125d944070922164d1d09a2689 (patch) | |
tree | a5319fcc60499e63fecc7a08d923a1de8f9c7622 /include/linux | |
parent | 6ac6172a935d1faf7ef259802267657bc0007a62 (diff) |
lib: digital signature config option name change
It was reported that DIGSIG is confusing name for digital signature
module. It was suggested to rename DIGSIG to SIGNATURE.
Requested-by: Linus Torvalds <torvalds@linux-foundation.org>
Suggested-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/digsig.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/digsig.h b/include/linux/digsig.h index efae755017d7..b01558b15814 100644 --- a/include/linux/digsig.h +++ b/include/linux/digsig.h | |||
@@ -46,7 +46,7 @@ struct signature_hdr { | |||
46 | char mpi[0]; | 46 | char mpi[0]; |
47 | } __packed; | 47 | } __packed; |
48 | 48 | ||
49 | #if defined(CONFIG_DIGSIG) || defined(CONFIG_DIGSIG_MODULE) | 49 | #if defined(CONFIG_SIGNATURE) || defined(CONFIG_SIGNATURE_MODULE) |
50 | 50 | ||
51 | int digsig_verify(struct key *keyring, const char *sig, int siglen, | 51 | int digsig_verify(struct key *keyring, const char *sig, int siglen, |
52 | const char *digest, int digestlen); | 52 | const char *digest, int digestlen); |
@@ -59,6 +59,6 @@ static inline int digsig_verify(struct key *keyring, const char *sig, | |||
59 | return -EOPNOTSUPP; | 59 | return -EOPNOTSUPP; |
60 | } | 60 | } |
61 | 61 | ||
62 | #endif /* CONFIG_DIGSIG */ | 62 | #endif /* CONFIG_SIGNATURE */ |
63 | 63 | ||
64 | #endif /* _DIGSIG_H */ | 64 | #endif /* _DIGSIG_H */ |