diff options
author | Ben Laurie <ben@links.org> | 2013-09-25 13:55:06 +0100 |
---|---|---|
committer | Ben Laurie <ben@links.org> | 2013-09-25 13:55:06 +0100 |
commit | c808798013ef7dc0aaafd030929976ddba8668db (patch) | |
tree | b4ac965e5438e6bb779c0a7cc4463f5119375a39 /apps | |
parent | 379f21ce5cd4238678198d98ba9d05c5f6b1c636 (diff) |
Produce PEM we would consume.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/s_client.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |