mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
genhmac: expose as VISIBLE
This commit is contained in:
parent
1fa0d496bb
commit
6646b8d31c
1 changed files with 3 additions and 3 deletions
|
@ -1750,7 +1750,7 @@ lws_genhash_destroy(struct lws_genhash_ctx *ctx, void *result);
|
|||
* If the return is nonzero, it failed and there is nothing needing to be
|
||||
* destroyed.
|
||||
*/
|
||||
int
|
||||
LWS_VISIBLE LWS_EXTERN int LWS_WARN_UNUSED_RESULT
|
||||
lws_genhmac_init(struct lws_genhmac_ctx *ctx, enum lws_genhmac_types type,
|
||||
const uint8_t *key, size_t key_len);
|
||||
|
||||
|
@ -1764,7 +1764,7 @@ lws_genhmac_init(struct lws_genhmac_ctx *ctx, enum lws_genhmac_types type,
|
|||
*
|
||||
* If the return is nonzero, it failed and needs destroying.
|
||||
*/
|
||||
int
|
||||
LWS_VISIBLE LWS_EXTERN int LWS_WARN_UNUSED_RESULT
|
||||
lws_genhmac_update(struct lws_genhmac_ctx *ctx, const void *in, size_t len);
|
||||
|
||||
/** lws_genhmac_destroy() - copy out the result digest and destroy the ctx
|
||||
|
@ -1778,7 +1778,7 @@ lws_genhmac_update(struct lws_genhmac_ctx *ctx, const void *in, size_t len);
|
|||
* NULL result is supported so that you can destroy the ctx cleanly on error
|
||||
* conditions, where there is no valid result.
|
||||
*/
|
||||
int
|
||||
LWS_VISIBLE LWS_EXTERN int
|
||||
lws_genhmac_destroy(struct lws_genhmac_ctx *ctx, void *result);
|
||||
///@}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue