mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
std.crypto.asn1: add lapo.it url for all_types.der
This commit is contained in:
parent
3cc17b93a9
commit
a51bc1d1d1
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user