Network: remove check for 0-sized bundle buffer

This commit is contained in:
Halil Durak committed 2026-07-04 12:19:10 +03:00
1 parent c192303bf7
commit a2fae6b0eb
1 file changed
-4
-4
View File
@@ -757,10 +757,6 @@ fn createX509Store(allocator: Allocator) CreateX509StoreError!*crypto.X509_STORE
defer bundle.deinit(allocator);
const bytes = bundle.bytes.items;
if (bytes.len == 0) {
log.warn(.app, "No system certificates", .{});
return store;
}
var it = bundle.map.valueIterator();
while (it.next()) |index| {
// d2i_X509 reads the cert's own DER length header to find its end and