mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibCrypto: Remove unused Certificate
class
This commit is contained in:
parent
24d3da64e5
commit
bc0bb0d535
Notes:
github-actions[bot]
2025-02-17 23:04:11 +00:00
Author: https://github.com/devgianlu
Commit: bc0bb0d535
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3606
4 changed files with 21 additions and 711 deletions
|
@ -8,13 +8,6 @@
|
|||
#include <LibCrypto/Certificate/Certificate.h>
|
||||
#include <LibTest/TestCase.h>
|
||||
|
||||
TEST_CASE(certificate_with_malformed_tbscertificate_should_fail_gracefully)
|
||||
{
|
||||
Array<u8, 4> invalid_certificate_data { 0xB0, 0x02, 0x70, 0x00 };
|
||||
auto parse_result = Crypto::Certificate::Certificate::parse_certificate(invalid_certificate_data);
|
||||
EXPECT(parse_result.is_error());
|
||||
}
|
||||
|
||||
TEST_CASE(test_private_key_info_decode)
|
||||
{
|
||||
constexpr auto keyder = "MIIBVQIBADANBgkqhkiG9w0BAQEFAASCAT8wggE7AgEAAkEA5HMXMnY+RhEcYXsa"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue