Skip to content
Permalink
Browse files

Update openssl.c

  • Loading branch information...
Zenju committed Oct 4, 2019
1 parent 51298ec commit 7e207083389d9cfdf28fee4ab9efa4d7011a3f87
Showing with 0 additions and 5 deletions.
  1. +0 −5 src/openssl.c
@@ -1109,7 +1109,6 @@ _libssh2_rsa_new_private(libssh2_rsa_ctx ** rsa,

pem_read_bio_func read_rsa =
(pem_read_bio_func) &PEM_read_bio_RSAPrivateKey;
(void) session;

_libssh2_init_if_needed();

@@ -1135,7 +1134,6 @@ _libssh2_dsa_new_private_frommemory(libssh2_dsa_ctx ** dsa,

pem_read_bio_func read_dsa =
(pem_read_bio_func) &PEM_read_bio_DSAPrivateKey;
(void) session;

_libssh2_init_if_needed();

@@ -1411,7 +1409,6 @@ _libssh2_dsa_new_private(libssh2_dsa_ctx ** dsa,

pem_read_bio_func read_dsa =
(pem_read_bio_func) &PEM_read_bio_DSAPrivateKey;
(void) session;

_libssh2_init_if_needed();

@@ -1440,7 +1437,6 @@ _libssh2_ecdsa_new_private_frommemory(libssh2_ecdsa_ctx ** ec_ctx,

pem_read_bio_func read_ec =
(pem_read_bio_func) &PEM_read_bio_ECPrivateKey;
(void) session;

_libssh2_init_if_needed();

@@ -2535,7 +2531,6 @@ _libssh2_ecdsa_new_private(libssh2_ecdsa_ctx ** ec_ctx,
int rc;

pem_read_bio_func read_ec = (pem_read_bio_func) &PEM_read_bio_ECPrivateKey;
(void) session;

_libssh2_init_if_needed();

0 comments on commit 7e20708

Please sign in to comment.
You can’t perform that action at this time.