diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2003-12-20 22:48:21 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2003-12-20 22:48:21 +0000 |
commit | e88c57773873240edd96732112fcbf5a407e4a90 (patch) | |
tree | d4098fbe5cdcde02aca19acef5a4d8ce2519000e | |
parent | a2b0de98af8ca4de5fd27484f4925cdc351a9020 (diff) |
Typos.
-rw-r--r-- | doc/crypto/pem.pod | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/crypto/pem.pod b/doc/crypto/pem.pod index a4f8cc3337..8613114452 100644 --- a/doc/crypto/pem.pod +++ b/doc/crypto/pem.pod @@ -330,7 +330,7 @@ most of them are set to 0 or NULL. Read a certificate in PEM format from a BIO: X509 *x; - x = PEM_read_bio(bp, NULL, 0, NULL); + x = PEM_read_bio_X509(bp, NULL, 0, NULL); if (x == NULL) { /* Error */ @@ -459,12 +459,12 @@ returned by EVP_bytestokey(). The PEM read routines in some versions of OpenSSL will not correctly reuse 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: X509_free(x); - x = PEM_read_bio(bp, NULL, 0, NULL); + x = PEM_read_bio_X509(bp, NULL, 0, NULL); is guaranteed to work. |