summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libutil/ber.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libutil/ber.c b/lib/libutil/ber.c
index 13933a82cc7..42a8834e23f 100644
--- a/lib/libutil/ber.c
+++ b/lib/libutil/ber.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ber.c,v 1.7 2019/05/16 21:12:33 rob Exp $ */
+/* $OpenBSD: ber.c,v 1.8 2019/05/21 13:29:44 rob Exp $ */
/*
* Copyright (c) 2007, 2012 Reyk Floeter <reyk@openbsd.org>
@@ -1265,7 +1265,7 @@ ber_read_element(struct ber *ber, struct ber_element *elm)
return -1;
/* smallest number of contents octets only */
- if ((i == 1 && last == 0 && (c & 0x80) == 0) ||
+ if ((i == 1 && last == 0 && (c & 0x80) == 0) ||
(i == 1 && last == 0xff && (c & 0x80) != 0))
return -1;