mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
Fixed memory leak in openssl fips modes
This commit is contained in:
@@ -193,8 +193,6 @@ int git_hash_sha1_final(unsigned char *out, git_hash_sha1_ctx *ctx)
|
||||
return -1;
|
||||
}
|
||||
|
||||
ctx->c = NULL;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -346,8 +344,6 @@ int git_hash_sha256_final(unsigned char *out, git_hash_sha256_ctx *ctx)
|
||||
return -1;
|
||||
}
|
||||
|
||||
ctx->c = NULL;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user