2
0

21-key-update.cnf.in 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # -*- mode: perl; -*-
  2. # Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
  3. #
  4. # Licensed under the Apache License 2.0 (the "License"). You may not use
  5. # this file except in compliance with the License. You can obtain a copy
  6. # in the file LICENSE in the source distribution or at
  7. # https://www.openssl.org/source/license.html
  8. ## Test KeyUpdate
  9. use strict;
  10. use warnings;
  11. package ssltests;
  12. our @tests = (
  13. {
  14. name => "update-key-client-update-not-requested",
  15. server => {},
  16. client => {},
  17. test => {
  18. "HandshakeMode" => "KeyUpdateClient",
  19. "KeyUpdateType" => "KeyUpdateNotRequested",
  20. "ResumptionExpected" => "No",
  21. "ExpectedResult" => "Success"
  22. }
  23. },
  24. {
  25. name => "update-key-server-update-not-requested",
  26. server => {},
  27. client => {},
  28. test => {
  29. "HandshakeMode" => "KeyUpdateServer",
  30. "KeyUpdateType" => "KeyUpdateNotRequested",
  31. "ResumptionExpected" => "No",
  32. "ExpectedResult" => "Success"
  33. }
  34. },
  35. {
  36. name => "update-key-client-update-requested",
  37. server => {},
  38. client => {},
  39. test => {
  40. "HandshakeMode" => "KeyUpdateClient",
  41. "KeyUpdateType" => "KeyUpdateRequested",
  42. "ResumptionExpected" => "No",
  43. "ExpectedResult" => "Success"
  44. }
  45. },
  46. {
  47. name => "update-key-server-update-requested",
  48. server => {},
  49. client => {},
  50. test => {
  51. "HandshakeMode" => "KeyUpdateServer",
  52. "KeyUpdateType" => "KeyUpdateRequested",
  53. "ResumptionExpected" => "No",
  54. "ExpectedResult" => "Success"
  55. }
  56. }
  57. );