1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-02 10:53:16 +03:00

OpenSSL EVP: fix threaded use of structs

Make sure we don't clear or reset static structs after first init so
that they work fine even when used from multiple threads. Init the
structs in the global init.

Help and assistance by: John Engstrom

Fixes #229 (again)
This commit is contained in:
Daniel Stenberg
2011-09-29 22:17:03 +02:00
parent 24afd0fc72
commit ee07785a1e
4 changed files with 21 additions and 5 deletions

View File

@@ -585,4 +585,8 @@ _libssh2_pub_priv_keyfile(LIBSSH2_SESSION *session,
libssh2_error */
}
void _libssh2_init_aes_ctr(void)
{
/* no implementation */
}
#endif /* LIBSSH2_LIBGCRYPT */