aboutsummarylogtreecommitdiffstats
path: root/0003-constify-struct-dh.patch
blob: 30cc2b8a6a6f19be627b058cefc64eec618bfec3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/security/keys/dh.c b/security/keys/dh.c
index 4573fc15617dc8..b339760a31dd31 100644
--- a/security/keys/dh.c
+++ b/security/keys/dh.c
@@ -15,7 +15,7 @@
 #include <keys/user-type.h>
 #include "internal.h"
 
-static ssize_t dh_data_from_key(key_serial_t keyid, void **data)
+static ssize_t dh_data_from_key(key_serial_t keyid, const void **data)
 {
 	struct key *key;
 	key_ref_t key_ref;