Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286080
b: refs/heads/master
c: 5e8898e
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Kasatkin authored and James Morris committed Jan 17, 2012
1 parent 66f6503 commit 3f61596
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6ac6172a935d1faf7ef259802267657bc0007a62
refs/heads/master: 5e8898e97a5db4125d944070922164d1d09a2689
4 changes: 2 additions & 2 deletions trunk/include/linux/digsig.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ struct signature_hdr {
char mpi[0];
} __packed;

#if defined(CONFIG_DIGSIG) || defined(CONFIG_DIGSIG_MODULE)
#if defined(CONFIG_SIGNATURE) || defined(CONFIG_SIGNATURE_MODULE)

int digsig_verify(struct key *keyring, const char *sig, int siglen,
const char *digest, int digestlen);
Expand All @@ -59,6 +59,6 @@ static inline int digsig_verify(struct key *keyring, const char *sig,
return -EOPNOTSUPP;
}

#endif /* CONFIG_DIGSIG */
#endif /* CONFIG_SIGNATURE */

#endif /* _DIGSIG_H */
2 changes: 1 addition & 1 deletion trunk/lib/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ config MPILIB_EXTRA
This code in unnecessary for RSA digital signature verification,
and can be compiled if needed.

config DIGSIG
config SIGNATURE
tristate "In-kernel signature checker"
depends on KEYS
select MPILIB
Expand Down
2 changes: 1 addition & 1 deletion trunk/lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ obj-$(CONFIG_CORDIC) += cordic.o
obj-$(CONFIG_DQL) += dynamic_queue_limits.o

obj-$(CONFIG_MPILIB) += mpi/
obj-$(CONFIG_DIGSIG) += digsig.o
obj-$(CONFIG_SIGNATURE) += digsig.o

hostprogs-y := gen_crc32table
clean-files := crc32table.h
Expand Down
2 changes: 1 addition & 1 deletion trunk/security/integrity/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ config INTEGRITY_DIGSIG
boolean "Digital signature verification using multiple keyrings"
depends on INTEGRITY && KEYS
default n
select DIGSIG
select SIGNATURE
help
This option enables digital signature verification support
using multiple keyrings. It defines separate keyrings for each
Expand Down

0 comments on commit 3f61596

Please sign in to comment.