| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* RxRPC key type |
|---|
| 2 | 3 | * |
|---|
| 3 | 4 | * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. |
|---|
| 4 | 5 | * 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. |
|---|
| 10 | 6 | */ |
|---|
| 11 | 7 | |
|---|
| 12 | 8 | #ifndef _KEYS_RXRPC_TYPE_H |
|---|
| .. | .. |
|---|
| 32 | 28 | u8 primary_flag; /* T if key for primary cell for this user */ |
|---|
| 33 | 29 | u16 ticket_len; /* length of ticket[] */ |
|---|
| 34 | 30 | u8 session_key[8]; /* DES session key */ |
|---|
| 35 | | - u8 ticket[0]; /* the encrypted ticket */ |
|---|
| 31 | + u8 ticket[]; /* the encrypted ticket */ |
|---|
| 36 | 32 | }; |
|---|
| 37 | 33 | |
|---|
| 38 | 34 | /* |
|---|
| .. | .. |
|---|
| 104 | 100 | u32 expiry; /* time_t */ |
|---|
| 105 | 101 | u32 kvno; |
|---|
| 106 | 102 | u8 session_key[8]; |
|---|
| 107 | | - u8 ticket[0]; |
|---|
| 103 | + u8 ticket[]; |
|---|
| 108 | 104 | }; |
|---|
| 109 | 105 | |
|---|
| 110 | 106 | /* |
|---|