Skip to content

Commit 5de7da1

Browse files
author
Michael Rochelle
committed
Defined these methods which are defined in openssl 1.1.0h:
HMAC_CTX * HMAC_CTX_new(); void HMAC_CTX_free(HMAC_CTX *ctx); void HMAC_CTX_reset(HMAC_CTX * ctx); Removed deprecated methods which result in an unresolved symbol: void HMAC_CTX_init(HMAC_CTX* ctx); void HMAC_CTX_cleanup(HMAC_CTX* ctx);
1 parent 30f88af commit 5de7da1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

deimos/openssl/hmac.d

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ alias hmac_ctx_st HMAC_CTX;
8484

8585
auto HMAC_size()(HMAC_CTX* e) { return EVP_MD_size(e.md); }
8686

87-
88-
void HMAC_CTX_init(HMAC_CTX* ctx);
89-
void HMAC_CTX_cleanup(HMAC_CTX* ctx);
87+
HMAC_CTX * HMAC_CTX_new();
88+
void HMAC_CTX_free(HMAC_CTX *ctx);
89+
void HMAC_CTX_reset(HMAC_CTX * ctx);
9090

9191
alias HMAC_CTX_cleanup HMAC_cleanup; /* deprecated */
9292

0 commit comments

Comments
 (0)