add reset, needed by nsd.
This commit is contained in:
parent
3fb6240442
commit
0a6da94db6
@ -119,6 +119,12 @@ static inline void HMAC_CTX_free(HMAC_CTX *ctx)
|
||||
HMAC_CTX_cleanup(ctx);
|
||||
free(ctx);
|
||||
}
|
||||
|
||||
static inline void HMAC_CTX_reset(HMAC_CTX *ctx)
|
||||
{
|
||||
HMAC_CTX_cleanup(ctx);
|
||||
HMAC_CTX_init(ctx);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user