summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libcrypto/bio/bio_asn1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regress/lib/libcrypto/bio/bio_asn1.c b/src/regress/lib/libcrypto/bio/bio_asn1.c
index abb1642372..92a18d03ae 100644
--- a/src/regress/lib/libcrypto/bio/bio_asn1.c
+++ b/src/regress/lib/libcrypto/bio/bio_asn1.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bio_asn1.c,v 1.3 2023/04/25 19:48:24 tb Exp $ */ 1/* $OpenBSD: bio_asn1.c,v 1.4 2023/05/02 09:30:37 tb Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2023 Theo Buehler <tb@openbsd.org> 4 * Copyright (c) 2023 Theo Buehler <tb@openbsd.org>
@@ -125,8 +125,8 @@ test_prefix_leak(void)
125 if ((bio_out = BIO_new(BIO_s_mem())) == NULL) 125 if ((bio_out = BIO_new(BIO_s_mem())) == NULL)
126 goto err; 126 goto err;
127 127
128 if (!i2d_ASN1_bio_stream(bio_out, (ASN1_VALUE *)pkcs7, bio_in, 128 if (!i2d_PKCS7_bio_stream(bio_out, pkcs7, bio_in,
129 SMIME_STREAM | SMIME_BINARY, &PKCS7_it)) 129 SMIME_STREAM | SMIME_BINARY))
130 goto err; 130 goto err;
131 131
132 if (set_me != 1) { 132 if (set_me != 1) {