mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 09:49:15 +03:00
LibTLS: Remove declarations for non-existent methods
This commit is contained in:
parent
6c66fd5ffb
commit
1568063cc8
Notes:
sideshowbarker
2024-07-17 10:16:43 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/1568063cc8 Pull-request: https://github.com/SerenityOS/serenity/pull/17203 Reviewed-by: https://github.com/linusg ✅
@ -400,18 +400,11 @@ public:
|
||||
m_context.extensions.SNI = sni;
|
||||
}
|
||||
|
||||
bool load_certificates(ReadonlyBytes pem_buffer);
|
||||
bool load_private_key(ReadonlyBytes pem_buffer);
|
||||
|
||||
void set_root_certificates(Vector<Certificate>);
|
||||
|
||||
static Vector<Certificate> parse_pem_certificate(ReadonlyBytes certificate_pem_buffer, ReadonlyBytes key_pem_buffer);
|
||||
|
||||
ByteBuffer finish_build();
|
||||
|
||||
StringView alpn() const { return m_context.negotiated_alpn; }
|
||||
void add_alpn(StringView alpn);
|
||||
bool has_alpn(StringView alpn) const;
|
||||
|
||||
bool supports_cipher(CipherSuite suite) const
|
||||
{
|
||||
@ -461,10 +454,8 @@ private:
|
||||
ByteBuffer build_hello();
|
||||
ByteBuffer build_handshake_finished();
|
||||
ByteBuffer build_certificate();
|
||||
ByteBuffer build_done();
|
||||
ByteBuffer build_alert(bool critical, u8 code);
|
||||
ByteBuffer build_change_cipher_spec();
|
||||
ByteBuffer build_verify_request();
|
||||
void build_rsa_pre_master_secret(PacketBuilder&);
|
||||
void build_dhe_rsa_pre_master_secret(PacketBuilder&);
|
||||
void build_ecdhe_rsa_pre_master_secret(PacketBuilder&);
|
||||
@ -486,7 +477,6 @@ private:
|
||||
ssize_t handle_certificate_verify(ReadonlyBytes);
|
||||
ssize_t handle_handshake_payload(ReadonlyBytes);
|
||||
ssize_t handle_message(ReadonlyBytes);
|
||||
ssize_t handle_random(ReadonlyBytes);
|
||||
|
||||
void pseudorandom_function(Bytes output, ReadonlyBytes secret, u8 const* label, size_t label_length, ReadonlyBytes seed, ReadonlyBytes seed_b);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user