EVM: Use crypto_memneq() for digest comparisons
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / security / keys / proc.c
index 217b6855e815cb851153fa08646d2bf145cee579..374c3301b8021a3e12c66feb1e3d2304682a2e33 100644 (file)
@@ -188,7 +188,7 @@ static int proc_keys_show(struct seq_file *m, void *v)
        struct timespec now;
        unsigned long timo;
        key_ref_t key_ref, skey_ref;
-       char xbuf[12];
+       char xbuf[16];
        int rc;
 
        key_ref = make_key_ref(key, 0);