diff --git a/crypto/dso/dso_vms.c b/crypto/dso/dso_vms.c index ab48b63eb..d8bf26b6d 100644 --- a/crypto/dso/dso_vms.c +++ b/crypto/dso/dso_vms.c @@ -259,8 +259,12 @@ void vms_bind_sym(DSO *dso, const char *symname, void **sym) { DSO_VMS_INTERNAL *ptr; int status; +#if 0 int flags = (1<<4); /* LIB$M_FIS_MIXEDCASE, but this symbol isn't defined in VMS older than 7.0 or so */ +#else + int flags = 0; +#endif struct dsc$descriptor_s symname_dsc; *sym = NULL; diff --git a/doc/ssl/SSL_get_session.pod b/doc/ssl/SSL_get_session.pod index 8547faa58..dd9aba40b 100644 --- a/doc/ssl/SSL_get_session.pod +++ b/doc/ssl/SSL_get_session.pod @@ -37,8 +37,10 @@ if the session is valid, it can be removed at any time due to timeout during L. If the data is to be kept, SSL_get1_session() will increment the reference -count and the session will stay in memory until explicitly freed with -L, regardless of its state. +count, so that the session will not be implicitly removed by other operations +but stays in memory. In order to remove the session +L must be explicitly called once +to decrement the reference count again. SSL_SESSION objects keep internal link information about the session cache list, when being inserted into one SSL_CTX object's session cache.