Skip to content

Commit

Permalink
Produce PEM we would consume.
Browse files Browse the repository at this point in the history
  • Loading branch information
benlaurie committed Sep 25, 2013
1 parent 9725bda commit 70d416e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/s_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 70d416e

Please sign in to comment.