diff options
author | tb <> | 2023-05-12 08:56:05 +0000 |
---|---|---|
committer | tb <> | 2023-05-12 08:56:05 +0000 |
commit | 1f7f935f99968dab525b2116ad7a93160de45c81 (patch) | |
tree | dec49c4a91435370652a773a31d0b643e0538c53 /src | |
parent | c0d1d7edec5f5e62f73a8edb97224efab101f927 (diff) | |
download | openbsd-1f7f935f99968dab525b2116ad7a93160de45c81.tar.gz openbsd-1f7f935f99968dab525b2116ad7a93160de45c81.tar.bz2 openbsd-1f7f935f99968dab525b2116ad7a93160de45c81.zip |
asn1oct: minor tweak in error message
Diffstat (limited to 'src')
-rw-r--r-- | src/regress/lib/libcrypto/asn1/asn1oct.c | 6 |
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", |