summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/crypto/ts/ts_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/crypto/ts/ts_lib.c')
-rw-r--r--crypto/openssl/crypto/ts/ts_lib.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/openssl/crypto/ts/ts_lib.c b/crypto/openssl/crypto/ts/ts_lib.c
index c51538a..e0f1063 100644
--- a/crypto/openssl/crypto/ts/ts_lib.c
+++ b/crypto/openssl/crypto/ts/ts_lib.c
@@ -90,9 +90,8 @@ int TS_OBJ_print_bio(BIO *bio, const ASN1_OBJECT *obj)
{
char obj_txt[128];
- int len = OBJ_obj2txt(obj_txt, sizeof(obj_txt), obj, 0);
- BIO_write(bio, obj_txt, len);
- BIO_write(bio, "\n", 1);
+ OBJ_obj2txt(obj_txt, sizeof(obj_txt), obj, 0);
+ BIO_printf(bio, "%s\n", obj_txt);
return 1;
}
OpenPOWER on IntegriCloud