diff options
author | Doug Hogan <doug@cvs.openbsd.org> | 2015-02-06 10:06:31 +0000 |
---|---|---|
committer | Doug Hogan <doug@cvs.openbsd.org> | 2015-02-06 10:06:31 +0000 |
commit | ca4afe67877feee12f82d6f415818745f3b12e0a (patch) | |
tree | 79f861b4f9f963971c9ca5d4269c5e83002955e6 | |
parent | 63fda0688694302f7399ab32bc6c0a896fefda6a (diff) |
Remove accidental, commented out code.
This was to test a patch for upstream.
-rw-r--r-- | lib/libssl/bs_cbb.c | 12 |
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 */ |