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

Some platforms need sys/socket.h included before netinet/in.h.

Fixed an unused variable compiler warning.
This commit is contained in:
Dan Fandrich
2009-09-15 14:08:48 -07:00
parent c4b7f0394b
commit 1418993a0f
17 changed files with 49 additions and 48 deletions

View File

@@ -247,6 +247,7 @@ _libssh2_rsa_new_private(libssh2_rsa_ctx ** rsa,
{
pem_read_bio_func read_rsa =
(pem_read_bio_func) &PEM_read_bio_RSAPrivateKey;
(void) session;
if (!EVP_get_cipherbyname("des")) {
/* If this cipher isn't loaded it's a pretty good indication that none are.