artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
215c98b
)
Fix case where we wanted to test ASN1_TIME_set_string() but were testing
author
jsing
<jsing@openbsd.org>
Thu, 22 Oct 2015 13:58:47 +0000
(13:58 +0000)
committer
jsing
<jsing@openbsd.org>
Thu, 22 Oct 2015 13:58:47 +0000
(13:58 +0000)
ASN1_UTCTIME_set_string() twice instead.
regress/lib/libcrypto/asn1/asn1time.c
patch
|
blob
|
history
diff --git
a/regress/lib/libcrypto/asn1/asn1time.c
b/regress/lib/libcrypto/asn1/asn1time.c
index
6c93808
..
0334e49
100644
(file)
--- a/
regress/lib/libcrypto/asn1/asn1time.c
+++ b/
regress/lib/libcrypto/asn1/asn1time.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: asn1time.c,v 1.
4 2015/10/19 16:29:22 beck
Exp $ */
+/* $OpenBSD: asn1time.c,v 1.
5 2015/10/22 13:58:47 jsing
Exp $ */
/*
* Copyright (c) 2015 Joel Sing <jsing@openbsd.org>
*
@@
-211,7
+211,7
@@
asn1_invtime_test(int test_no, struct asn1_time_test *att)
"string '%s'\n", test_no, att->str);
goto done;
}
- if (ASN1_
UTCTIME_set_string(u
t, att->str) != 0) {
+ if (ASN1_
TIME_set_string(
t, att->str) != 0) {
fprintf(stderr, "FAIL: test %i - successfully set TIME "
"string '%s'\n", test_no, att->str);
goto done;