hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/include/keys/encrypted-type.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2010 IBM Corporation
34 * Copyright (C) 2010 Politecnico di Torino, Italy
....@@ -6,10 +7,6 @@
67 * Authors:
78 * Mimi Zohar <zohar@us.ibm.com>
89 * Roberto Sassu <roberto.sassu@polito.it>
9
- *
10
- * This program is free software; you can redistribute it and/or modify
11
- * it under the terms of the GNU General Public License as published by
12
- * the Free Software Foundation, version 2 of the License.
1310 */
1411
1512 #ifndef _KEYS_ENCRYPTED_TYPE_H
....@@ -30,7 +27,7 @@
3027 unsigned short payload_datalen; /* payload data length */
3128 unsigned short encrypted_key_format; /* encrypted key format */
3229 u8 *decrypted_data; /* decrypted data */
33
- u8 payload_data[0]; /* payload data + datablob + hmac */
30
+ u8 payload_data[]; /* payload data + datablob + hmac */
3431 };
3532
3633 extern struct key_type key_type_encrypted;