summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/regress/lib/libcrypto/asn1/asn1oct.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regress/lib/libcrypto/asn1/asn1oct.c b/src/regress/lib/libcrypto/asn1/asn1oct.c
index 7c5708f052..a61e6edbc1 100644
--- a/src/regress/lib/libcrypto/asn1/asn1oct.c
+++ b/src/regress/lib/libcrypto/asn1/asn1oct.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: asn1oct.c,v 1.1 2023/05/12 08:28:05 tb Exp $ */ 1/* $OpenBSD: asn1oct.c,v 1.2 2023/05/12 08:56:05 tb Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2023 Theo Buehler <tb@openbsd.org> 4 * Copyright (c) 2023 Theo Buehler <tb@openbsd.org>
@@ -114,9 +114,9 @@ test_new_ASN1_OCTET_STRING(void)
114 int failed = 0; 114 int failed = 0;
115 115
116 if ((aos = ASN1_OCTET_STRING_new()) == NULL) 116 if ((aos = ASN1_OCTET_STRING_new()) == NULL)
117 errx(1, "ASN1_OCTET_STRING_new"); 117 errx(1, "%s: ASN1_OCTET_STRING_new", __func__);
118 if ((got = i2s_ASN1_OCTET_STRING(NULL, aos)) == NULL) 118 if ((got = i2s_ASN1_OCTET_STRING(NULL, aos)) == NULL)
119 errx(1, "foo i2s_ASN1_OCTET_STRING"); 119 errx(1, "%s: i2s_ASN1_OCTET_STRING", __func__);
120 120
121 if (strcmp("", got) != 0) { 121 if (strcmp("", got) != 0) {
122 fprintf(stderr, "%s failed: want \"\", got \"%s\"\n", 122 fprintf(stderr, "%s failed: want \"\", got \"%s\"\n",