Skip to content

Commit ca55897

Browse files
Fix old-style-declaration warning
Fix #2985. Signed-off-by: Steven Bellock <sbellock@nvidia.com>
1 parent a1a0970 commit ca55897

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

library/spdm_crypt_lib/libspdm_crypt_cert.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Copyright Notice:
3-
* Copyright 2021-2024 DMTF. All rights reserved.
3+
* Copyright 2021-2025 DMTF. All rights reserved.
44
* License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/libspdm/blob/main/LICENSE.md
55
**/
66

@@ -119,8 +119,8 @@ typedef bool (*libspdm_asym_get_public_key_from_x509_func)(const uint8_t *cert,
119119
*
120120
* @return asymmetric GET_PUBLIC_KEY_FROM_X509 function
121121
**/
122-
libspdm_asym_get_public_key_from_x509_func
123-
static libspdm_get_asym_get_public_key_from_x509(uint32_t base_asym_algo)
122+
static libspdm_asym_get_public_key_from_x509_func
123+
libspdm_get_asym_get_public_key_from_x509(uint32_t base_asym_algo)
124124
{
125125
switch (base_asym_algo) {
126126
case SPDM_ALGORITHMS_BASE_ASYM_ALGO_TPM_ALG_RSASSA_2048:

0 commit comments

Comments
 (0)