aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2020-03-27 14:08:25 +0100
committerJakub Jelen <jjelen@redhat.com>2020-04-15 20:05:56 +0200
commiteebb02fff52c18e3e42f8d82b3b166e1d6ed58a6 (patch)
tree70bc74129b0a32242f453941adc994aef8e3d842 /src
parent54296787a79e96195a3b835c4ccbbfaae4f6189c (diff)
downloadlibssh-eebb02fff52c18e3e42f8d82b3b166e1d6ed58a6.tar.gz
libssh-eebb02fff52c18e3e42f8d82b3b166e1d6ed58a6.tar.xz
libssh-eebb02fff52c18e3e42f8d82b3b166e1d6ed58a6.zip
libcrypto-compat: Fix indentation and return value
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/libcrypto-compat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcrypto-compat.c b/src/libcrypto-compat.c
index 3604763f..01ca70e7 100644
--- a/src/libcrypto-compat.c
+++ b/src/libcrypto-compat.c
@@ -282,7 +282,8 @@ void EVP_MD_CTX_free(EVP_MD_CTX *ctx)
int EVP_CIPHER_CTX_reset(EVP_CIPHER_CTX *ctx)
{
- EVP_CIPHER_CTX_init(ctx);
+ EVP_CIPHER_CTX_init(ctx);
+ return 1;
}
HMAC_CTX *HMAC_CTX_new(void)