From fef84e2c4ca5c4fb8e9fec9025773b446ccdcfe0 Mon Sep 17 00:00:00 2001 From: David Garske Date: Tue, 12 Jul 2022 12:55:22 -0700 Subject: [PATCH] Fixes for asn_public.h documentation. Fix spelling error. --- doc/dox_comments/header_files/asn_public.h | 7 +++---- wolfssl/wolfcrypt/types.h | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/dox_comments/header_files/asn_public.h b/doc/dox_comments/header_files/asn_public.h index 53206639b..17bb76b8c 100644 --- a/doc/dox_comments/header_files/asn_public.h +++ b/doc/dox_comments/header_files/asn_public.h @@ -1994,7 +1994,7 @@ time_t wc_Time(time_t* t); \param cert Pointer to an initialized DecodedCert object. \param critical If 0, the extension will not be marked critical, otherwise it will be marked critical. - \param oid Dot separted oid as a string. For example "1.2.840.10045.3.1.7" + \param oid Dot separated oid as a string. For example "1.2.840.10045.3.1.7" \param der The der encoding of the content of the extension. \param derSz The size in bytes of the der encoding. @@ -2080,7 +2080,7 @@ int wc_SetCustomExtension(Cert *cert, int critical, const char *oid, \sa ParseCert \sa wc_SetCustomExtension */ -WOLFSSL_ASN_API int wc_SetUnknownExtCallback(DecodedCert* cert, +int wc_SetUnknownExtCallback(DecodedCert* cert, wc_UnknownExtCallback cb); /*! \ingroup ASN @@ -2099,8 +2099,7 @@ WOLFSSL_ASN_API int wc_SetUnknownExtCallback(DecodedCert* cert, \param pubKeySz The size in bytes of pubKey. \param pubKeyOID OID identifying the algorithm of the public key. (ie: ECDSAk, DSAk or RSAk) - +*/ int wc_CheckCertSigPubKey(const byte* cert, word32 certSz, void* heap, const byte* pubKey, word32 pubKeySz, int pubKeyOID); -*/ diff --git a/wolfssl/wolfcrypt/types.h b/wolfssl/wolfcrypt/types.h index cac7558ff..4a7bdda98 100644 --- a/wolfssl/wolfcrypt/types.h +++ b/wolfssl/wolfcrypt/types.h @@ -226,7 +226,7 @@ typedef struct w64wrapper { #endif /* WORD64_AVAILABLE && WOLFSSL_W64_WRAPPER_TEST */ } w64wrapper; -#ifdef WC_PTR_TYPE /* Allow user suppied type */ +#ifdef WC_PTR_TYPE /* Allow user supplied type */ typedef WC_PTR_TYPE wc_ptr_t; #elif defined(HAVE_UINTPTR_T) #include