summaryrefslogtreecommitdiff
path: root/regress/lib/libcrypto
diff options
context:
space:
mode:
Diffstat (limited to 'regress/lib/libcrypto')
-rw-r--r--regress/lib/libcrypto/asn1/asn1object.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/regress/lib/libcrypto/asn1/asn1object.c b/regress/lib/libcrypto/asn1/asn1object.c
index 77ebae66169..ccaad4e9cfa 100644
--- a/regress/lib/libcrypto/asn1/asn1object.c
+++ b/regress/lib/libcrypto/asn1/asn1object.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: asn1object.c,v 1.4 2022/03/15 18:29:12 tb Exp $ */
+/* $OpenBSD: asn1object.c,v 1.5 2022/03/19 16:23:17 jsing Exp $ */
/*
* Copyright (c) 2017, 2021, 2022 Joel Sing <jsing@openbsd.org>
*
@@ -253,6 +253,10 @@ struct asn1_object_test asn1_object_tests[] = {
.want_error = ASN1_R_INVALID_DIGIT,
},
{
+ .oid = "2a.5.4.10",
+ .want_error = ASN1_R_INVALID_SEPARATOR,
+ },
+ {
.oid = "2.5a.4.10",
.want_error = ASN1_R_INVALID_DIGIT,
},