KEYS: output last portion of fingerprint in /proc/keys
authorDmitry Kasatkin <d.kasatkin@samsung.com>
Mon, 6 Oct 2014 16:25:45 +0000 (17:25 +0100)
committerDavid Howells <dhowells@redhat.com>
Mon, 6 Oct 2014 16:33:27 +0000 (17:33 +0100)
commitd4016589855156b6afe5e9bc8ef85ce43f27e704
tree12ea977ca08adaf3d1a4936eed28d519918feb77
parent7a224e783ad2b325977253139aede1f5f38b1778
KEYS: output last portion of fingerprint in /proc/keys

Previous version of KEYS used to output last 4 bytes of fingerprint.
Now it outputs 8 last bytes of raw subject, which does not make any
visual meaning at all. This patch restores old behavior.

Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
Signed-off-by: David Howells <dhowells@redhat.com>
crypto/asymmetric_keys/asymmetric_type.c