commit a51bc1d1d11717e9aab72121918ddb09fb3333f7 (tree)
parent 3cc17b93a9f1b8a7009a58235f77e09de2cd2536
Author: clickingbuttons <clickingbuttons@pm.me>
Date: Thu, 16 May 2024 13:13:42 -0400
std.crypto.asn1: add lapo.it url for all_types.der
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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);