summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/ts/ts_lib.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2015-09-10 14:29:22 +0000
committerjsing <jsing@openbsd.org>2015-09-10 14:29:22 +0000
commit8035488af6105af3475b2969b96d28c2b412a437 (patch)
tree014aac349c615119038f1b3ee43408e4ee4cbec4 /lib/libcrypto/ts/ts_lib.c
parentCall readgptlabel() from readdoslabel() instead of MD readdisklabel(). (diff)
downloadwireguard-openbsd-8035488af6105af3475b2969b96d28c2b412a437.tar.xz
wireguard-openbsd-8035488af6105af3475b2969b96d28c2b412a437.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 'lib/libcrypto/ts/ts_lib.c')
-rw-r--r--lib/libcrypto/ts/ts_lib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libcrypto/ts/ts_lib.c b/lib/libcrypto/ts/ts_lib.c
index ac5f65df94e..293564118fd 100644
--- a/lib/libcrypto/ts/ts_lib.c
+++ b/lib/libcrypto/ts/ts_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ts_lib.c,v 1.9 2015/07/29 14:58:34 jsing Exp $ */
+/* $OpenBSD: ts_lib.c,v 1.10 2015/09/10 14:29:22 jsing Exp $ */
/* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL
* project 2002.
*/
@@ -137,14 +137,14 @@ TS_X509_ALGOR_print_bio(BIO *bio, const X509_ALGOR *alg)
int
TS_MSG_IMPRINT_print_bio(BIO *bio, TS_MSG_IMPRINT *a)
{
- const ASN1_OCTET_STRING *msg;
+ ASN1_OCTET_STRING *msg;
TS_X509_ALGOR_print_bio(bio, TS_MSG_IMPRINT_get_algo(a));
BIO_printf(bio, "Message data:\n");
msg = TS_MSG_IMPRINT_get_msg(a);
- BIO_dump_indent(bio, (const char *)M_ASN1_STRING_data(msg),
- M_ASN1_STRING_length(msg), 4);
+ BIO_dump_indent(bio, (const char *)ASN1_STRING_data(msg),
+ ASN1_STRING_length(msg), 4);
return 1;
}