summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/ts/ts_lib.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2015-07-29 14:58:34 +0000
committerjsing <jsing@openbsd.org>2015-07-29 14:58:34 +0000
commit3e1a72ea05a71ae3681b404f7429cdefbdd303f8 (patch)
treeb9140af598ac75edec8c3686a94547a39cda6e7c /lib/libcrypto/ts/ts_lib.c
parentExpand obsolete M_ASN1_STRING_* macros in asn1_lib.c, apply some style(9) (diff)
downloadwireguard-openbsd-3e1a72ea05a71ae3681b404f7429cdefbdd303f8.tar.xz
wireguard-openbsd-3e1a72ea05a71ae3681b404f7429cdefbdd303f8.zip
Expand obsolete M_ASN1.*(cmp|dup|print|set) macros - no change in generated
assembly. ok bcook@
Diffstat (limited to 'lib/libcrypto/ts/ts_lib.c')
-rw-r--r--lib/libcrypto/ts/ts_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/ts/ts_lib.c b/lib/libcrypto/ts/ts_lib.c
index f08bb8701de..ac5f65df94e 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.8 2014/07/11 08:44:49 jsing Exp $ */
+/* $OpenBSD: ts_lib.c,v 1.9 2015/07/29 14:58:34 jsing Exp $ */
/* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL
* project 2002.
*/
@@ -117,7 +117,7 @@ TS_ext_print_bio(BIO *bio, const STACK_OF(X509_EXTENSION) *extensions)
BIO_printf(bio, ": %s\n", critical ? "critical" : "");
if (!X509V3_EXT_print(bio, ex, 0, 4)) {
BIO_printf(bio, "%4s", "");
- M_ASN1_OCTET_STRING_print(bio, ex->value);
+ ASN1_STRING_print(bio, ex->value);
}
BIO_write(bio, "\n", 1);
}