summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2017-09-25 18:04:09 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2017-09-25 18:04:09 +0000
commit055c8cd33ec0d2907c3189829977e7df77beef75 (patch)
tree0e5ffbe39543e9b85c1d2aa2b53cc355b442c561 /lib
parentee9f3cfe8866243a432d4cc741458550e3fd49fc (diff)
Annotate some API-side memory leaks for future resolution.
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/s3_lib.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libssl/s3_lib.c b/lib/libssl/s3_lib.c
index ab92ebf36a1..a05116cb8f2 100644
--- a/lib/libssl/s3_lib.c
+++ b/lib/libssl/s3_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: s3_lib.c,v 1.160 2017/08/28 18:12:10 jsing Exp $ */
+/* $OpenBSD: s3_lib.c,v 1.161 2017/09/25 18:04:08 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1852,6 +1852,7 @@ _SSL_get_tlsext_status_exts(SSL *s, STACK_OF(X509_EXTENSION) **exts)
static int
_SSL_set_tlsext_status_exts(SSL *s, STACK_OF(X509_EXTENSION) *exts)
{
+ /* XXX - leak... */
s->internal->tlsext_ocsp_exts = exts;
return 1;
}
@@ -1866,6 +1867,7 @@ _SSL_get_tlsext_status_ids(SSL *s, STACK_OF(OCSP_RESPID) **ids)
static int
_SSL_set_tlsext_status_ids(SSL *s, STACK_OF(OCSP_RESPID) *ids)
{
+ /* XXX - leak... */
s->internal->tlsext_ocsp_ids = ids;
return 1;
}