Add a session to an SSL context's internal session cache.
1 on success, or 0 if the session was already present or on error.
| Name | Description |
|---|---|
| ctx | SSL context whose cache receives session. |
| session | Session to cache; reference count is incremented on success. |