From c808798013ef7dc0aaafd030929976ddba8668db Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Wed, 25 Sep 2013 13:55:06 +0100 Subject: [PATCH] Produce PEM we would consume. --- apps/s_client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/s_client.c b/apps/s_client.c index 1c9c8b89b8..ab96be6ab2 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -564,7 +564,8 @@ static int serverinfo_cli_cb(SSL* s, unsigned short ext_type, ext_buf[3] = inlen & 0xFF; memcpy(ext_buf+4, in, inlen); - BIO_snprintf(pem_name, sizeof(pem_name), "SERVER_INFO %d", ext_type); + BIO_snprintf(pem_name, sizeof(pem_name), "SERVERINFO FOR EXTENSION %d", + ext_type); PEM_write_bio(bio_c_out, pem_name, "", ext_buf, 4 + inlen); return 1; } -- 2.40.0