summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Hogan <doug@cvs.openbsd.org>2015-02-06 10:06:31 +0000
committerDoug Hogan <doug@cvs.openbsd.org>2015-02-06 10:06:31 +0000
commitca4afe67877feee12f82d6f415818745f3b12e0a (patch)
tree79f861b4f9f963971c9ca5d4269c5e83002955e6
parent63fda0688694302f7399ab32bc6c0a896fefda6a (diff)
Remove accidental, commented out code.
This was to test a patch for upstream.
-rw-r--r--lib/libssl/bs_cbb.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/libssl/bs_cbb.c b/lib/libssl/bs_cbb.c
index 668231c1c79..11688bcb7bb 100644
--- a/lib/libssl/bs_cbb.c
+++ b/lib/libssl/bs_cbb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bs_cbb.c,v 1.1 2015/02/06 09:36:16 doug Exp $ */
+/* $OpenBSD: bs_cbb.c,v 1.2 2015/02/06 10:06:30 doug Exp $ */
/*
* Copyright (c) 2014, Google Inc.
*
@@ -80,16 +80,6 @@ static int cbb_buffer_add(struct cbb_buffer_st *base, uint8_t **out,
return 0;
}
-#if 0
- // XXX Added for boringssl patch testing
- if (len == 0) {
- if (out) {
- *out = NULL;
- }
- return 1;
- }
-#endif
-
newlen = base->len + len;
if (newlen < base->len) {
/* Overflow */