Read an SSL_SESSION from a PEM-encoded FILE stream.
Declared in <openssl/ssl.h>
SSL_SESSION*
PEM_read_SSL_SESSION(
FILE* fp,
SSL_SESSION** x,
pem_password_cb* cb,
void* u);
New or reused SSL_SESSION on success, or NULL on failure.
| Name | Description |
|---|---|
| fp | FILE to read from. |
| x | Optional address of an SSL_SESSION pointer to reuse, or NULL. |
| cb | Password callback for encrypted PEM, or NULL. |
| u | Application data passed to cb. |