From: Ben Laurie Date: Wed, 25 Sep 2013 12:55:06 +0000 (+0100) Subject: Produce PEM we would consume. X-Git-Tag: master-post-reformat~1163 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=70d416ec353aa06a54f6f7aaa385fd716b1f0c04;p=oweals%2Fopenssl.git Produce PEM we would consume. --- diff --git a/apps/s_client.c b/apps/s_client.c index 9efea79aaf..36edaef01e 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -592,7 +592,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; }