diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2021-04-21 13:28:00 +0200 |
---|---|---|
committer | Dr. David von Oheimb <dev@ddvo.net> | 2021-04-22 20:39:00 +0200 |
commit | ef203432f7b551382216e9aa7de00039e6d45ac0 (patch) | |
tree | 29a89425afc407737375cc58858cc200b35f1968 /apps/include | |
parent | 078fa35c7bd7e7392b07e032297a341fef695c42 (diff) | |
download | openssl-new-ef203432f7b551382216e9aa7de00039e6d45ac0.tar.gz |
apps/cmp.c and APP_HTTP_TLS_INFO: Fix use-after-free and add proper free() function
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14971)
Diffstat (limited to 'apps/include')
-rw-r--r-- | apps/include/apps.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/include/apps.h b/apps/include/apps.h index 2709b0ccaf..2d102246f8 100644 --- a/apps/include/apps.h +++ b/apps/include/apps.h @@ -271,6 +271,7 @@ typedef struct app_http_tls_info_st { } APP_HTTP_TLS_INFO; BIO *app_http_tls_cb(BIO *hbio, /* APP_HTTP_TLS_INFO */ void *arg, int connect, int detail); +void APP_HTTP_TLS_INFO_free(APP_HTTP_TLS_INFO *info); # ifndef OPENSSL_NO_SOCK ASN1_VALUE *app_http_get_asn1(const char *url, const char *proxy, const char *no_proxy, SSL_CTX *ssl_ctx, |