From 8285fe04ae8a5c41ae2606bd08aed9aa1bd3126f Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Wed, 4 Jan 2017 15:57:30 -0500 Subject: Add tests for certificate status message Currently untested by TLS crosstalk tests because it is not supported on the server side. Exposes the rest of TLS message types to application. --- src/lib/tls/tls_messages.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/lib') diff --git a/src/lib/tls/tls_messages.h b/src/lib/tls/tls_messages.h index 8e08b6e87..5a1f03a06 100644 --- a/src/lib/tls/tls_messages.h +++ b/src/lib/tls/tls_messages.h @@ -394,7 +394,7 @@ class BOTAN_DLL Server_Hello final : public Handshake_Message /** * Client Key Exchange Message */ -class Client_Key_Exchange final : public Handshake_Message +class BOTAN_DLL Client_Key_Exchange final : public Handshake_Message { public: Handshake_Type type() const override { return CLIENT_KEX; } @@ -428,7 +428,7 @@ class Client_Key_Exchange final : public Handshake_Message /** * Certificate Message */ -class Certificate final : public Handshake_Message +class BOTAN_DLL Certificate final : public Handshake_Message { public: Handshake_Type type() const override { return CERTIFICATE; } @@ -451,7 +451,7 @@ class Certificate final : public Handshake_Message /** * Certificate Status (RFC 6066) */ -class Certificate_Status final : public Handshake_Message +class BOTAN_DLL Certificate_Status final : public Handshake_Message { public: Handshake_Type type() const override { return CERTIFICATE_STATUS; } @@ -472,7 +472,7 @@ class Certificate_Status final : public Handshake_Message /** * Certificate Request Message */ -class Certificate_Req final : public Handshake_Message +class BOTAN_DLL Certificate_Req final : public Handshake_Message { public: Handshake_Type type() const override { return CERTIFICATE_REQUEST; } @@ -539,7 +539,7 @@ class BOTAN_DLL Certificate_Verify final : public Handshake_Message /** * Finished Message */ -class Finished final : public Handshake_Message +class BOTAN_DLL Finished final : public Handshake_Message { public: Handshake_Type type() const override { return FINISHED; } @@ -578,7 +578,7 @@ class BOTAN_DLL Hello_Request final : public Handshake_Message /** * Server Key Exchange Message */ -class Server_Key_Exchange final : public Handshake_Message +class BOTAN_DLL Server_Key_Exchange final : public Handshake_Message { public: Handshake_Type type() const override { return SERVER_KEX; } @@ -646,7 +646,7 @@ class Server_Key_Exchange final : public Handshake_Message /** * Server Hello Done Message */ -class Server_Hello_Done final : public Handshake_Message +class BOTAN_DLL Server_Hello_Done final : public Handshake_Message { public: Handshake_Type type() const override { return SERVER_HELLO_DONE; } @@ -687,7 +687,7 @@ class BOTAN_DLL New_Session_Ticket final : public Handshake_Message /** * Change Cipher Spec */ -class Change_Cipher_Spec final : public Handshake_Message +class BOTAN_DLL Change_Cipher_Spec final : public Handshake_Message { public: Handshake_Type type() const override { return HANDSHAKE_CCS; } -- cgit v1.2.3