From c8f46130f88d0816ec6de8a8b69c63dcdd94e3a6 Mon Sep 17 00:00:00 2001 From: Michael D Kinney Date: Thu, 2 Dec 2021 18:00:39 -0800 Subject: CryptoPkg: Change OPTIONAL keyword usage style REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3760 Update all use of ', OPTIONAL' to ' OPTIONAL,' for function params. Cc: Andrew Fish Cc: Leif Lindholm Cc: Michael Kubacki Signed-off-by: Michael D Kinney Reviewed-by: Jian J Wang --- CryptoPkg/Private/Protocol/Crypto.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'CryptoPkg/Private') diff --git a/CryptoPkg/Private/Protocol/Crypto.h b/CryptoPkg/Private/Protocol/Crypto.h index 498f8e387d..e38ecbb3b1 100644 --- a/CryptoPkg/Private/Protocol/Crypto.h +++ b/CryptoPkg/Private/Protocol/Crypto.h @@ -1991,7 +1991,7 @@ EFI_STATUS (EFIAPI *EDKII_CRYPTO_X509_GET_COMMON_NAME) ( IN CONST UINT8 *Cert, IN UINTN CertSize, - OUT CHAR8 *CommonName, OPTIONAL + OUT CHAR8 *CommonName OPTIONAL, IN OUT UINTN *CommonNameSize ); @@ -2026,7 +2026,7 @@ EFI_STATUS (EFIAPI *EDKII_CRYPTO_X509_GET_ORGANIZATION_NAME) ( IN CONST UINT8 *Cert, IN UINTN CertSize, - OUT CHAR8 *NameBuffer, OPTIONAL + OUT CHAR8 *NameBuffer OPTIONAL, IN OUT UINTN *NameBufferSize ); @@ -2735,9 +2735,9 @@ typedef EFI_STATUS (EFIAPI* EDKII_CRYPTO_TLS_DO_HANDSHAKE)( IN VOID *Tls, - IN UINT8 *BufferIn, OPTIONAL - IN UINTN BufferInSize, OPTIONAL - OUT UINT8 *BufferOut, OPTIONAL + IN UINT8 *BufferIn OPTIONAL, + IN UINTN BufferInSize OPTIONAL, + OUT UINT8 *BufferOut OPTIONAL, IN OUT UINTN *BufferOutSize ); @@ -2770,9 +2770,9 @@ typedef EFI_STATUS (EFIAPI* EDKII_CRYPTO_TLS_HANDLE_ALERT)( IN VOID *Tls, - IN UINT8 *BufferIn, OPTIONAL - IN UINTN BufferInSize, OPTIONAL - OUT UINT8 *BufferOut, OPTIONAL + IN UINT8 *BufferIn OPTIONAL, + IN UINTN BufferInSize OPTIONAL, + OUT UINT8 *BufferOut OPTIONAL, IN OUT UINTN *BufferOutSize ); -- cgit v1.2.3