aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/test/ssl_handshake_SUITE.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2013-01-11 10:17:50 +0100
committerIngela Anderton Andin <[email protected]>2013-01-11 10:17:50 +0100
commit1897e315ee2d8417a6e32f5fae00e9a124a45d83 (patch)
tree888daec243499f0fa6fe6fa8ba1bc19fb60c53d6 /lib/ssl/test/ssl_handshake_SUITE.erl
parent9f461fbaf0be7aba7c0b8b89be1f0b6f1141b7a5 (diff)
parent102cd877bc3ed83dc17bb17a691fa08d020fab34 (diff)
downloadotp-1897e315ee2d8417a6e32f5fae00e9a124a45d83.tar.gz
otp-1897e315ee2d8417a6e32f5fae00e9a124a45d83.tar.bz2
otp-1897e315ee2d8417a6e32f5fae00e9a124a45d83.zip
Merge branch 'ia/ssl/ct-tests'
* ia/ssl/ct-tests: ssl: CTify test cases
Diffstat (limited to 'lib/ssl/test/ssl_handshake_SUITE.erl')
-rw-r--r--lib/ssl/test/ssl_handshake_SUITE.erl8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/ssl/test/ssl_handshake_SUITE.erl b/lib/ssl/test/ssl_handshake_SUITE.erl
index 363a0be594..aff0e0fbbc 100644
--- a/lib/ssl/test/ssl_handshake_SUITE.erl
+++ b/lib/ssl/test/ssl_handshake_SUITE.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2008-2012. All Rights Reserved.
+%% Copyright Ericsson AB 2008-2013. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -27,6 +27,9 @@
-include("ssl_internal.hrl").
-include("ssl_handshake.hrl").
+%%--------------------------------------------------------------------
+%% Common Test interface functions -----------------------------------
+%%--------------------------------------------------------------------
suite() -> [{ct_hooks,[ts_install_cth]}].
all() -> [
@@ -34,6 +37,9 @@ all() -> [
decode_single_hello_extension_correctly,
decode_unknown_hello_extension_correctly].
+%%--------------------------------------------------------------------
+%% Test Cases --------------------------------------------------------
+%%--------------------------------------------------------------------
decode_hello_handshake(_Config) ->
HelloPacket = <<16#02, 16#00, 16#00,
16#44, 16#03, 16#03, 16#4e, 16#7f, 16#c1, 16#03, 16#35,