Fixes for asn_public.h documentation. Fix spelling error.

This commit is contained in:
David Garske
2022-07-12 12:55:22 -07:00
parent 5e6c45a6fb
commit fef84e2c4c
2 changed files with 4 additions and 5 deletions

View File

@ -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);
*/

View File

@ -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 <stdint.h>