diff options
author | default <nobody@localhost> | 2022-10-25 09:32:41 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-10-25 09:32:41 +0200 |
commit | fa870ab358ce94017228cdddf4697e041fc32531 (patch) | |
tree | 326d5a13a525531b4c5c243160d215d7c28263ae /xs_openssl.h | |
parent | d2095105de3fe8c3397df7d46a9d61011b74c09e (diff) |
Backport from xs.
Diffstat (limited to 'xs_openssl.h')
-rw-r--r-- | xs_openssl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xs_openssl.h b/xs_openssl.h index 0652637..5e3d03c 100644 --- a/xs_openssl.h +++ b/xs_openssl.h @@ -140,7 +140,7 @@ d_char *xs_rsa_sign(const char *secret, const char *mem, int size) BIO_free(b); RSA_free(rsa); - free(sig); + xs_free(sig); return signature; } @@ -211,7 +211,7 @@ d_char *xs_evp_sign(const char *secret, const char *mem, int size) EVP_MD_CTX_free(mdctx); EVP_PKEY_free(pkey); BIO_free(b); - free(sig); + xs_free(sig); return signature; } |