artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
329b1b0
)
fix typo: boolean true should decode to 1, not 0
author
tb
<tb@openbsd.org>
Thu, 23 Dec 2021 18:12:58 +0000
(18:12 +0000)
committer
tb
<tb@openbsd.org>
Thu, 23 Dec 2021 18:12:58 +0000
(18:12 +0000)
regress/lib/libcrypto/asn1/asn1basic.c
patch
|
blob
|
history
diff --git
a/regress/lib/libcrypto/asn1/asn1basic.c
b/regress/lib/libcrypto/asn1/asn1basic.c
index
d2a1fc9
..
bb65705
100644
(file)
--- a/
regress/lib/libcrypto/asn1/asn1basic.c
+++ b/
regress/lib/libcrypto/asn1/asn1basic.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: asn1basic.c,v 1.
1 2021/12/09 16:30:05 jsing
Exp $ */
+/* $OpenBSD: asn1basic.c,v 1.
2 2021/12/23 18:12:58 tb
Exp $ */
/*
* Copyright (c) 2017, 2021 Joel Sing <jsing@openbsd.org>
*
@@
-110,7
+110,7
@@
asn1_boolean_test(void)
q = p;
if (d2i_ASN1_BOOLEAN(NULL, &q, len) != 1) {
- fprintf(stderr, "FAIL: BOOLEAN true did not decode to
0
\n");
+ fprintf(stderr, "FAIL: BOOLEAN true did not decode to
1
\n");
goto failed;
}