Fixed memory leak in openssl fips modes

This commit is contained in:
wklatka
2025-04-11 15:27:24 +02:00
committed by GitHub
parent 21a351b0ed
commit 4e8717fbc9

View File

@@ -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;
}