Use generic APIs for (HMAC-)MD5/SHA1 and RNG, and implement them via OpenSSL/libgcrypt.

This commit is contained in:
Simon Josefsson
2007-01-15 21:12:00 +00:00
parent 362d3466cf
commit 79761a6455
10 changed files with 231 additions and 79 deletions

View File

@@ -254,6 +254,8 @@ LIBSSH2_API LIBSSH2_SESSION *libssh2_session_init_ex(
_libssh2_debug(session, LIBSSH2_DBG_TRANS, "New session resource allocated");
#endif
libssh2_crypto_init ();
return session;
}
/* }}} */