Commit 8f5c833f authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Typos.

parent ffe966b0
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -330,7 +330,7 @@ most of them are set to 0 or NULL.
Read a certificate in PEM format from a BIO:
Read a certificate in PEM format from a BIO:


 X509 *x;
 X509 *x;
 x = PEM_read_bio(bp, NULL, 0, NULL);
 x = PEM_read_bio_X509(bp, NULL, 0, NULL);
 if (x == NULL)
 if (x == NULL)
	{
	{
	/* Error */
	/* Error */
@@ -459,12 +459,12 @@ returned by EVP_bytestokey().
The PEM read routines in some versions of OpenSSL will not correctly reuse
The PEM read routines in some versions of OpenSSL will not correctly reuse
an existing structure. Therefore the following:
an existing structure. Therefore the following:


 PEM_read_bio(bp, &x, 0, NULL);
 PEM_read_bio_X509(bp, &x, 0, NULL);


where B<x> already contains a valid certificate, may not work, whereas: 
where B<x> already contains a valid certificate, may not work, whereas: 


 X509_free(x);
 X509_free(x);
 x = PEM_read_bio(bp, NULL, 0, NULL);
 x = PEM_read_bio_X509(bp, NULL, 0, NULL);


is guaranteed to work.
is guaranteed to work.