Fixed memory leak in openssl fips modes

This commit is contained in:
wklatka
2025-04-11 15:27:24 +02:00
committed by Edward Thomson
parent e07acfda4a
commit 00598169d7

View File

@@ -189,8 +189,6 @@ int git_hash_sha1_final(unsigned char *out, git_hash_sha1_ctx *ctx)
return -1;
}
ctx->c = NULL;
return 0;
}
@@ -339,8 +337,6 @@ int git_hash_sha256_final(unsigned char *out, git_hash_sha256_ctx *ctx)
return -1;
}
ctx->c = NULL;
return 0;
}