summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio
diff options
context:
space:
mode:
authordoug <>2015-03-21 08:05:20 +0000
committerdoug <>2015-03-21 08:05:20 +0000
commit2898b0c3a5e1e7f791f70cf4578bb2486c0612fa (patch)
treec3416a85e2e2b40bd36b2e8e612c00007e05c003 /src/lib/libcrypto/bio
parentc12f0e8171f2b611dd77254adddc73b4b515947e (diff)
downloadopenbsd-2898b0c3a5e1e7f791f70cf4578bb2486c0612fa.tar.gz
openbsd-2898b0c3a5e1e7f791f70cf4578bb2486c0612fa.tar.bz2
openbsd-2898b0c3a5e1e7f791f70cf4578bb2486c0612fa.zip
Fix indentation that incorrectly implies a different control flow.
The actual control flow is intentional while the indenting is incorrect. This is intended to be a cosmetic change. Verified that each of these was part of a KNF commit that wasn't intending to change behavior. Also, double checked against the history of changes in OpenSSL and BoringSSL. Addresses Coverity CIDs: 78842, 78859, 78863. ok tedu@
Diffstat (limited to 'src/lib/libcrypto/bio')
-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 }