summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/ssl/bs_ber.c
diff options
context:
space:
mode:
authordoug <doug@openbsd.org>2015-04-29 02:11:09 +0000
committerdoug <doug@openbsd.org>2015-04-29 02:11:09 +0000
commit1f70f88b1a9f455feaefec8778a056e21b33cad0 (patch)
tree00d0c13aade6b070589124aeccbe1a48ec1bb80d /lib/libssl/src/ssl/bs_ber.c
parentCall CBB_add_space() rather than reimplementing it. (diff)
downloadwireguard-openbsd-1f70f88b1a9f455feaefec8778a056e21b33cad0.tar.xz
wireguard-openbsd-1f70f88b1a9f455feaefec8778a056e21b33cad0.zip
Add whitespace and replace OPENSSL_free with free in documentation.
ok jsing@
Diffstat (limited to 'lib/libssl/src/ssl/bs_ber.c')
-rw-r--r--lib/libssl/src/ssl/bs_ber.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/src/ssl/bs_ber.c b/lib/libssl/src/ssl/bs_ber.c
index 1dde38264e3..2ec91fc8008 100644
--- a/lib/libssl/src/ssl/bs_ber.c
+++ b/lib/libssl/src/ssl/bs_ber.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bs_ber.c,v 1.3 2015/04/29 01:31:39 doug Exp $ */
+/* $OpenBSD: bs_ber.c,v 1.4 2015/04/29 02:11:09 doug Exp $ */
/*
* Copyright (c) 2014, Google Inc.
*
@@ -54,7 +54,7 @@ cbs_find_ber(CBS *orig_in, char *ber_found, unsigned depth)
return 0;
if (CBS_len(&contents) == header_len && header_len > 0 &&
- CBS_data(&contents)[header_len-1] == 0x80) {
+ CBS_data(&contents)[header_len - 1] == 0x80) {
*ber_found = 1;
return 1;
}