Skip to content

Commit e0fa25e

Browse files
authored
Merge pull request #6548 from lealem47/gplusplus
Fix for g++ builds
2 parents 9a4237e + 91962a1 commit e0fa25e

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

wolfssl/wolfcrypt/asn_public.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -911,9 +911,6 @@ WOLFSSL_API int wc_GetUUIDFromCert(struct DecodedCert* cert,
911911
WOLFSSL_API int wc_GetFASCNFromCert(struct DecodedCert* cert,
912912
byte* fascn, word32* fascnSz);
913913
#endif /* WOLFSSL_FPKI */
914-
#ifdef __cplusplus
915-
} /* extern "C" */
916-
#endif
917914

918915
#if !defined(XFPRINTF) || defined(NO_FILESYSTEM) || \
919916
defined(NO_STDIO_FILESYSTEM) && defined(WOLFSSL_ASN_PRINT)
@@ -1015,4 +1012,8 @@ WOLFSSL_API int wc_Asn1_PrintAll(Asn1* asn1, Asn1PrintOptions* opts,
10151012

10161013
#endif /* WOLFSSL_ASN_PRINT */
10171014

1015+
#ifdef __cplusplus
1016+
} /* extern "C" */
1017+
#endif
1018+
10181019
#endif /* WOLF_CRYPT_ASN_PUBLIC_H */

0 commit comments

Comments
 (0)