Produce PEM we would consume.
authorBen Laurie <ben@links.org>
Wed, 25 Sep 2013 12:55:06 +0000 (13:55 +0100)
committerBen Laurie <ben@links.org>
Wed, 25 Sep 2013 12:55:06 +0000 (13:55 +0100)
apps/s_client.c

index 1c9c8b89b861f3b3586b9f38ccafe5e95aecb26c..ab96be6ab27d6962eecedd4b08814b70a73dcd37 100644 (file)
@@ -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;
        }