summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bss_mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/bio/bss_mem.c')
-rw-r--r--src/lib/libcrypto/bio/bss_mem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bio/bss_mem.c b/src/lib/libcrypto/bio/bss_mem.c
index 8310f8cf4d..119bd672f6 100644
--- a/src/lib/libcrypto/bio/bss_mem.c
+++ b/src/lib/libcrypto/bio/bss_mem.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bss_mem.c,v 1.13 2014/07/11 08:44:47 jsing Exp $ */ 1/* $OpenBSD: bss_mem.c,v 1.14 2015/03/21 08:05:20 doug Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -142,7 +142,7 @@ mem_free(BIO *a)
142 b = (BUF_MEM *)a->ptr; 142 b = (BUF_MEM *)a->ptr;
143 if (a->flags & BIO_FLAGS_MEM_RDONLY) 143 if (a->flags & BIO_FLAGS_MEM_RDONLY)
144 b->data = NULL; 144 b->data = NULL;
145 BUF_MEM_free(b); 145 BUF_MEM_free(b);
146 a->ptr = NULL; 146 a->ptr = NULL;
147 } 147 }
148 } 148 }