Displaying 8 results from an estimated 8 matches for "err_remove_thread_state".
2016 Nov 13
3
[PATCH] Manually cleanup OpenSSL from dovecot_openssl_common_global_unref()
...a/src/lib-ssl-iostream/dovecot-openssl-common.c b/src/lib-ssl-iostream/dovecot-openssl-common.c
index 51ea3ad..2bf6307 100644
--- a/src/lib-ssl-iostream/dovecot-openssl-common.c
+++ b/src/lib-ssl-iostream/dovecot-openssl-common.c
@@ -101,6 +101,9 @@ bool dovecot_openssl_common_global_unref(void)
ERR_remove_thread_state(NULL);
#endif
ERR_free_strings();
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L
+ OPENSSL_cleanup();
+#endif
return FALSE;
}
--
2.10.1
2018 Jan 10
3
Can't compile Asterisk on Fedora server
...t6/menuselect'
[CC] tcptls.c -> tcptls.o
tcptls.c: In function 'tcptls_stream_close':
tcptls.c:401:20: error: dereferencing pointer to incomplete type 'SSL {aka
struct ssl_st}'
if (!stream->ssl->server) {
^~
tcptls.c:404:5: warning: 'ERR_remove_thread_state' is deprecated
[-Wdeprecated-declarations]
ERR_remove_thread_state(NULL);
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/opensslconf.h:42:0,
from /usr/include/openssl/ct.h:13,
from /usr/include/openssl/ssl.h:61,...
2016 Nov 15
0
[PATCH] Manually cleanup OpenSSL from dovecot_openssl_common_global_unref()
...ovecot-openssl-common.c b/src/lib-ssl-iostream/dovecot-openssl-common.c
> index 51ea3ad..2bf6307 100644
> --- a/src/lib-ssl-iostream/dovecot-openssl-common.c
> +++ b/src/lib-ssl-iostream/dovecot-openssl-common.c
> @@ -101,6 +101,9 @@ bool dovecot_openssl_common_global_unref(void)
> ERR_remove_thread_state(NULL);
> #endif
> ERR_free_strings();
> +#if OPENSSL_VERSION_NUMBER >= 0x10100000L
> + OPENSSL_cleanup();
> +#endif
> return FALSE;
> }
>
Hi!
Your patch is being reviewed.
Aki
2023 Nov 20
1
Finding old patches
Hi,
In the past when I wanted to back port a patch I would go on to the issue
tracker and find a link to the patches that were uploaded ( I think
through gerrit?). I am trying to see what changes were done for
https://issues-archive.asterisk.org/ASTERISK-26109. It seems the code
changes were introduced in 14.4.0-rc1. Is there any "n00b" way of seeing
what patches were created for this
2016 Nov 02
0
v2.2.26.0 released
...r)
@@ -97,7 +97,7 @@ bool dovecot_openssl_common_global_unref(void)
CRYPTO_cleanup_all_ex_data();
#if OPENSSL_VERSION_NUMBER < 0x10000000L
ERR_remove_state(0);
-#elif OPENSSL_VERSION_NUMBER < 0x10100000L
+#elif OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
ERR_remove_thread_state(NULL);
#endif
ERR_free_strings();
2016 Nov 20
1
[PATCH] Manually cleanup OpenSSL from dovecot_openssl_common_global_unref()
...n.c b/src/lib-ssl-iostream/dovecot-openssl-common.c
>> index 51ea3ad..2bf6307 100644
>> --- a/src/lib-ssl-iostream/dovecot-openssl-common.c
>> +++ b/src/lib-ssl-iostream/dovecot-openssl-common.c
>> @@ -101,6 +101,9 @@ bool dovecot_openssl_common_global_unref(void)
>> ERR_remove_thread_state(NULL);
>> #endif
>> ERR_free_strings();
>> +#if OPENSSL_VERSION_NUMBER >= 0x10100000L
>> + OPENSSL_cleanup();
>> +#endif
>> return FALSE;
>> }
>>
>
> Hi!
>
> Your patch is being reviewed.
>
> Aki
... which was committed as...
2016 Nov 02
2
v2.2.26.0 released
If the standard way works, I am happy to include the original patch I
sent, amended so that it checks for presence of LIBRESSL_VERSION_NUMBER.
If they keep this promise, then we should have no worries about things
breaking up.
Aki
On 02.11.2016 14:24, Michael A. Peters wrote:
> Indeed, which is why I use it.
>
> But it also is in the minority which is why I find it acceptable for
2018 Mar 01
5
Make fails with 2.3.0.1 & 2.2.34 on Mac OS X 10.7.5
> On 1 Mar 2018, at 5:56 pm, Aki Tuomi <aki.tuomi at dovecot.fi <mailto:aki.tuomi at dovecot.fi>> wrote:
>
>
>
> On 01.03.2018 07:34, James Brown wrote:
>> On 1 Mar 2018, at 4:09 pm, Aki Tuomi <aki.tuomi at dovecot.fi <mailto:aki.tuomi at dovecot.fi>> wrote:
>>>
>>>
>>> What SSL library and version?
>>> ---