From d2ef66473ca6f3521eb739eceddf0cba4c44bbed Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 25 Nov 2023 00:35:43 +0000 Subject: [PATCH] openssl: formatting (delete empty lines) [ci skip] --- src/openssl.c | 1 - src/openssl.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/openssl.c b/src/openssl.c index 7f6af387..634f8679 100644 --- a/src/openssl.c +++ b/src/openssl.c @@ -562,7 +562,6 @@ _libssh2_dsa_sha1_verify(libssh2_dsa_ctx * dsactx, if(!_libssh2_sha1(m, m_len, hash)) /* _libssh2_sha1() succeeded */ ret = DSA_do_verify(hash, SHA_DIGEST_LENGTH, dsasig, dsactx); - #endif DSA_SIG_free(dsasig); diff --git a/src/openssl.h b/src/openssl.h index f80a6b43..de44e421 100644 --- a/src/openssl.h +++ b/src/openssl.h @@ -382,7 +382,6 @@ extern void _libssh2_openssl_crypto_exit(void); #define _libssh2_rsa_free(rsactx) EVP_PKEY_free(rsactx) #else #define libssh2_rsa_ctx RSA - #define _libssh2_rsa_free(rsactx) RSA_free(rsactx) #endif @@ -395,7 +394,6 @@ extern void _libssh2_openssl_crypto_exit(void); #define _libssh2_dsa_free(rsactx) EVP_PKEY_free(rsactx) #else #define libssh2_dsa_ctx DSA - #define _libssh2_dsa_free(dsactx) DSA_free(dsactx) #endif