summaryrefslogtreecommitdiffstats
path: root/lib/libssl/d1_both.c
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2014-04-15 11:50:18 +0000
committerjsg <jsg@openbsd.org>2014-04-15 11:50:18 +0000
commita5ded1055c4a999120374cd3283b2e17b89cc517 (patch)
tree2f05ceab25ce2d3e41c364531b64b344c7dd450c /lib/libssl/d1_both.c
parentcatch directories we don't have the right to enter instead of letting Find (diff)
downloadwireguard-openbsd-a5ded1055c4a999120374cd3283b2e17b89cc517.tar.xz
wireguard-openbsd-a5ded1055c4a999120374cd3283b2e17b89cc517.zip
correct cases of code occuring directly after goto/break/return
ok miod@ guenther@
Diffstat (limited to 'lib/libssl/d1_both.c')
-rw-r--r--lib/libssl/d1_both.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libssl/d1_both.c b/lib/libssl/d1_both.c
index 6e51aa7f699..ab6b1684107 100644
--- a/lib/libssl/d1_both.c
+++ b/lib/libssl/d1_both.c
@@ -647,8 +647,8 @@ dtls1_reassemble_fragment(SSL *s, struct hm_header_st* msg_hdr, int *ok) {
item = pitem_new(seq64be, frag);
if (item == NULL) {
- goto err;
i = -1;
+ goto err;
}
pqueue_insert(s->d1->buffered_messages, item);