Use tst_info instead of calling TS_RESP_get_tst_info(a) second time.

-- 
Michal Bozon

--- crypto/ts/ts_rsp_print.c._orig	2015-06-10 17:30:05.160904287 +0200
+++ crypto/ts/ts_rsp_print.c	2015-06-10 17:31:43.760899610 +0200
@@ -87,7 +87,7 @@
     BIO_printf(bio, "\nTST info:\n");
     tst_info = TS_RESP_get_tst_info(a);
     if (tst_info != NULL)
-        TS_TST_INFO_print_bio(bio, TS_RESP_get_tst_info(a));
+        TS_TST_INFO_print_bio(bio, tst_info);
     else
         BIO_printf(bio, "Not included.\n");
 
_______________________________________________
openssl-bugs-mod mailing list
[email protected]
https://mta.openssl.org/mailman/listinfo/openssl-bugs-mod
_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to