summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ts
diff options
context:
space:
mode:
authorjsing <>2015-09-10 14:29:22 +0000
committerjsing <>2015-09-10 14:29:22 +0000
commit0a913351fcafdac683d490f6de2b65ac6460ec11 (patch)
tree1ccc9acacb7e31133622338e597dcea4a07e283b /src/lib/libcrypto/ts
parent02f98306c5c76c6db71d0c7c6984b783bfeba226 (diff)
downloadopenbsd-0a913351fcafdac683d490f6de2b65ac6460ec11.tar.gz
openbsd-0a913351fcafdac683d490f6de2b65ac6460ec11.tar.bz2
openbsd-0a913351fcafdac683d490f6de2b65ac6460ec11.zip
Replace remaining M_ASN1_STRING_* macros with calls to ASN1_STRING_*.
This is not the same as the macro expansion, however the ASN1_STRING_* functions do match the macro expansions. ok doug@ miod@
Diffstat (limited to 'src/lib/libcrypto/ts')
-rw-r--r--src/lib/libcrypto/ts/ts_lib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/ts/ts_lib.c b/src/lib/libcrypto/ts/ts_lib.c
index ac5f65df94..293564118f 100644
--- a/src/lib/libcrypto/ts/ts_lib.c
+++ b/src/lib/libcrypto/ts/ts_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ts_lib.c,v 1.9 2015/07/29 14:58:34 jsing Exp $ */ 1/* $OpenBSD: ts_lib.c,v 1.10 2015/09/10 14:29:22 jsing Exp $ */
2/* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL 2/* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL
3 * project 2002. 3 * project 2002.
4 */ 4 */
@@ -137,14 +137,14 @@ TS_X509_ALGOR_print_bio(BIO *bio, const X509_ALGOR *alg)
137int 137int
138TS_MSG_IMPRINT_print_bio(BIO *bio, TS_MSG_IMPRINT *a) 138TS_MSG_IMPRINT_print_bio(BIO *bio, TS_MSG_IMPRINT *a)
139{ 139{
140 const ASN1_OCTET_STRING *msg; 140 ASN1_OCTET_STRING *msg;
141 141
142 TS_X509_ALGOR_print_bio(bio, TS_MSG_IMPRINT_get_algo(a)); 142 TS_X509_ALGOR_print_bio(bio, TS_MSG_IMPRINT_get_algo(a));
143 143
144 BIO_printf(bio, "Message data:\n"); 144 BIO_printf(bio, "Message data:\n");
145 msg = TS_MSG_IMPRINT_get_msg(a); 145 msg = TS_MSG_IMPRINT_get_msg(a);
146 BIO_dump_indent(bio, (const char *)M_ASN1_STRING_data(msg), 146 BIO_dump_indent(bio, (const char *)ASN1_STRING_data(msg),
147 M_ASN1_STRING_length(msg), 4); 147 ASN1_STRING_length(msg), 4);
148 148
149 return 1; 149 return 1;
150} 150}