From a51bc1d1d11717e9aab72121918ddb09fb3333f7 Mon Sep 17 00:00:00 2001 From: clickingbuttons Date: Thu, 16 May 2024 13:13:42 -0400 Subject: [PATCH] std.crypto.asn1: add lapo.it url for all_types.der --- lib/std/crypto/asn1/test.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/std/crypto/asn1/test.zig b/lib/std/crypto/asn1/test.zig index b616491760..261f5a4310 100644 --- a/lib/std/crypto/asn1/test.zig +++ b/lib/std/crypto/asn1/test.zig @@ -61,6 +61,7 @@ test AllTypes { .g = .{ .inner = .{ .a = 4, .b = 5 }, .sum = 9 }, .h = .{ .tag = Tag.init(.string_ia5, false, .universal), .bytes = "asdf" }, }; + // https://lapo.it/asn1js/#MC-gAwIBAqEFAwMABKCCAyoDBAwEYXNkZgQEZmRzYQICAQGjBgIBBAIBBRYEYXNkZg const path = "./der/testdata/all_types.der"; const encoded = @embedFile(path); const actual = try asn1.der.decode(AllTypes, encoded);