hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/include/keys/rxrpc-type.h
....@@ -1,12 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* RxRPC key type
23 *
34 * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
45 * Written by David Howells (dhowells@redhat.com)
5
- *
6
- * This program is free software; you can redistribute it and/or
7
- * modify it under the terms of the GNU General Public License
8
- * as published by the Free Software Foundation; either version
9
- * 2 of the License, or (at your option) any later version.
106 */
117
128 #ifndef _KEYS_RXRPC_TYPE_H
....@@ -32,7 +28,7 @@
3228 u8 primary_flag; /* T if key for primary cell for this user */
3329 u16 ticket_len; /* length of ticket[] */
3430 u8 session_key[8]; /* DES session key */
35
- u8 ticket[0]; /* the encrypted ticket */
31
+ u8 ticket[]; /* the encrypted ticket */
3632 };
3733
3834 /*
....@@ -104,7 +100,7 @@
104100 u32 expiry; /* time_t */
105101 u32 kvno;
106102 u8 session_key[8];
107
- u8 ticket[0];
103
+ u8 ticket[];
108104 };
109105
110106 /*