commit | f635812ccc9b2eb63f5bc2b494d7fdae9c9e1ef3 | [log] [tgz] |
---|---|---|
author | Christophe Fergeau <cfergeau@redhat.com> | Wed Apr 26 11:36:54 2017 +0200 |
committer | Christophe Fergeau <cfergeau@redhat.com> | Wed Apr 26 15:21:02 2017 +0200 |
tree | c894be5673a33c1e004bbddb7b92226e0583a40d | |
parent | 02a0e03e24bc96bba2e5ea2438c30baf803fd137 [diff] |
Don't use ERR_remove_thread_state() with OpenSSL 1.1.0 It's deprecated and causes compile-time warnings. We don't want to fallback to ERR_remove_state() either as it's similarly deprecated. This commit adds a helper functions to hide the #ifdef mess between the various openssl versions. Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>