forked from wolfSSL/wolfssl
Fixes for asn_public.h documentation. Fix spelling error.
This commit is contained in:
@ -1994,7 +1994,7 @@ time_t wc_Time(time_t* t);
|
|||||||
\param cert Pointer to an initialized DecodedCert object.
|
\param cert Pointer to an initialized DecodedCert object.
|
||||||
\param critical If 0, the extension will not be marked critical, otherwise
|
\param critical If 0, the extension will not be marked critical, otherwise
|
||||||
it will be marked critical.
|
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 der The der encoding of the content of the extension.
|
||||||
\param derSz The size in bytes of the der encoding.
|
\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 ParseCert
|
||||||
\sa wc_SetCustomExtension
|
\sa wc_SetCustomExtension
|
||||||
*/
|
*/
|
||||||
WOLFSSL_ASN_API int wc_SetUnknownExtCallback(DecodedCert* cert,
|
int wc_SetUnknownExtCallback(DecodedCert* cert,
|
||||||
wc_UnknownExtCallback cb);
|
wc_UnknownExtCallback cb);
|
||||||
/*!
|
/*!
|
||||||
\ingroup ASN
|
\ingroup ASN
|
||||||
@ -2099,8 +2099,7 @@ WOLFSSL_ASN_API int wc_SetUnknownExtCallback(DecodedCert* cert,
|
|||||||
\param pubKeySz The size in bytes of pubKey.
|
\param pubKeySz The size in bytes of pubKey.
|
||||||
\param pubKeyOID OID identifying the algorithm of the public key.
|
\param pubKeyOID OID identifying the algorithm of the public key.
|
||||||
(ie: ECDSAk, DSAk or RSAk)
|
(ie: ECDSAk, DSAk or RSAk)
|
||||||
|
*/
|
||||||
int wc_CheckCertSigPubKey(const byte* cert, word32 certSz,
|
int wc_CheckCertSigPubKey(const byte* cert, word32 certSz,
|
||||||
void* heap, const byte* pubKey,
|
void* heap, const byte* pubKey,
|
||||||
word32 pubKeySz, int pubKeyOID);
|
word32 pubKeySz, int pubKeyOID);
|
||||||
*/
|
|
||||||
|
@ -226,7 +226,7 @@ typedef struct w64wrapper {
|
|||||||
#endif /* WORD64_AVAILABLE && WOLFSSL_W64_WRAPPER_TEST */
|
#endif /* WORD64_AVAILABLE && WOLFSSL_W64_WRAPPER_TEST */
|
||||||
} w64wrapper;
|
} w64wrapper;
|
||||||
|
|
||||||
#ifdef WC_PTR_TYPE /* Allow user suppied type */
|
#ifdef WC_PTR_TYPE /* Allow user supplied type */
|
||||||
typedef WC_PTR_TYPE wc_ptr_t;
|
typedef WC_PTR_TYPE wc_ptr_t;
|
||||||
#elif defined(HAVE_UINTPTR_T)
|
#elif defined(HAVE_UINTPTR_T)
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
Reference in New Issue
Block a user