diff options
| author | 2022-10-25 09:32:41 +0200 | |
|---|---|---|
| committer | 2022-10-25 09:32:41 +0200 | |
| commit | fa870ab358ce94017228cdddf4697e041fc32531 (patch) | |
| tree | 326d5a13a525531b4c5c243160d215d7c28263ae /xs_openssl.h | |
| parent | Don't load unneeded actor info in html_entry(). (diff) | |
| download | penes-snac2-fa870ab358ce94017228cdddf4697e041fc32531.tar.gz penes-snac2-fa870ab358ce94017228cdddf4697e041fc32531.tar.xz penes-snac2-fa870ab358ce94017228cdddf4697e041fc32531.zip | |
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) | |||
| 140 | 140 | ||
| 141 | BIO_free(b); | 141 | BIO_free(b); |
| 142 | RSA_free(rsa); | 142 | RSA_free(rsa); |
| 143 | free(sig); | 143 | xs_free(sig); |
| 144 | 144 | ||
| 145 | return signature; | 145 | return signature; |
| 146 | } | 146 | } |
| @@ -211,7 +211,7 @@ d_char *xs_evp_sign(const char *secret, const char *mem, int size) | |||
| 211 | EVP_MD_CTX_free(mdctx); | 211 | EVP_MD_CTX_free(mdctx); |
| 212 | EVP_PKEY_free(pkey); | 212 | EVP_PKEY_free(pkey); |
| 213 | BIO_free(b); | 213 | BIO_free(b); |
| 214 | free(sig); | 214 | xs_free(sig); |
| 215 | 215 | ||
| 216 | return signature; | 216 | return signature; |
| 217 | } | 217 | } |