hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/include/linux/digsig.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2011 Nokia Corporation
34 * Copyright (C) 2011 Intel Corporation
....@@ -5,11 +6,6 @@
56 * Author:
67 * Dmitry Kasatkin <dmitry.kasatkin@nokia.com>
78 * <dmitry.kasatkin@intel.com>
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation, version 2 of the License.
12
- *
139 */
1410
1511 #ifndef _DIGSIG_H
....@@ -33,7 +29,7 @@
3329 uint32_t timestamp; /* key made, always 0 for now */
3430 uint8_t algo;
3531 uint8_t nmpi;
36
- char mpi[0];
32
+ char mpi[];
3733 } __packed;
3834
3935 struct signature_hdr {
....@@ -43,7 +39,7 @@
4339 uint8_t hash;
4440 uint8_t keyid[8];
4541 uint8_t nmpi;
46
- char mpi[0];
42
+ char mpi[];
4743 } __packed;
4844
4945 #if defined(CONFIG_SIGNATURE) || defined(CONFIG_SIGNATURE_MODULE)