Files
aws/workspace/ssl_version.adb
Dmitriy Anisimkov 71dcbda134 GNUTLS rare regression investigation results.
* src/core/aws-config-set.ad[sb], src/core/aws-config.ad[sb],
  src/core/aws-default.ads, src/core/aws-server.adb:
(SSL_Session_Cache_Size): New server configuration parameter.

* config/ssl/aws-net-ssl__gnutls.adb:
(Image): Show the SSL session in the GNUTLS debug log format.
Improve debug logging.

* workspace/ssl_version.adb:
Show SSL version for GNUTLS too.

* regtests/0060_hload_sec/s_hload_pack.ad[sb]:
Use SSL_Session_Cache_Size config parameter to control session cache size.
Improve debug logging.
2014-10-29 11:37:07 +06:00

26 lines
1.4 KiB
Ada

------------------------------------------------------------------------------
-- Ada Web Server --
-- --
-- Copyright (C) 2014, AdaCore --
-- --
-- This is free software; you can redistribute it and/or modify it --
-- under terms of the GNU General Public License as published by the --
-- Free Software Foundation; either version 3, or (at your option) any --
-- later version. This software is distributed in the hope that it will --
-- be useful, but WITHOUT ANY WARRANTY; without even the implied warranty --
-- of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU --
-- General Public License for more details. --
-- --
-- You should have received a copy of the GNU General Public License --
-- distributed with this software; see file COPYING3. If not, go --
-- to http://www.gnu.org/licenses for a complete copy of the license. --
------------------------------------------------------------------------------
with Ada.Text_IO;
with AWS.Net.SSL;
procedure SSL_Version is
begin
Ada.Text_IO.Put_Line (AWS.Net.SSL.Version (True));
end SSL_Version;