zeroc-ice 3.7.11 → 3.7.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (209) hide show
  1. checksums.yaml +4 -4
  2. data/dist/IceRuby/Communicator.cpp +11 -2
  3. data/dist/IceRuby/Properties.cpp +2 -2
  4. data/dist/IceRuby/Types.cpp +3 -3
  5. data/dist/ice/cpp/include/Ice/InputStream.h +7 -4
  6. data/dist/ice/cpp/include/IceDiscovery/IceDiscovery.h +2 -2
  7. data/dist/ice/cpp/include/IceLocatorDiscovery/IceLocatorDiscovery.h +2 -2
  8. data/dist/ice/cpp/include/IceUtil/Config.h +2 -2
  9. data/dist/ice/cpp/include/IceUtil/ResourceConfig.h +2 -2
  10. data/dist/ice/cpp/include/generated/Glacier2/Metrics.h +2 -2
  11. data/dist/ice/cpp/include/generated/Glacier2/PermissionsVerifier.h +2 -2
  12. data/dist/ice/cpp/include/generated/Glacier2/PermissionsVerifierF.h +2 -2
  13. data/dist/ice/cpp/include/generated/Glacier2/Router.h +2 -2
  14. data/dist/ice/cpp/include/generated/Glacier2/RouterF.h +2 -2
  15. data/dist/ice/cpp/include/generated/Glacier2/SSLInfo.h +2 -2
  16. data/dist/ice/cpp/include/generated/Glacier2/Session.h +2 -2
  17. data/dist/ice/cpp/include/generated/Ice/BuiltinSequences.h +2 -2
  18. data/dist/ice/cpp/include/generated/Ice/Communicator.h +2 -2
  19. data/dist/ice/cpp/include/generated/Ice/CommunicatorF.h +2 -2
  20. data/dist/ice/cpp/include/generated/Ice/Connection.h +2 -2
  21. data/dist/ice/cpp/include/generated/Ice/ConnectionF.h +2 -2
  22. data/dist/ice/cpp/include/generated/Ice/Current.h +2 -2
  23. data/dist/ice/cpp/include/generated/Ice/Endpoint.h +2 -2
  24. data/dist/ice/cpp/include/generated/Ice/EndpointF.h +2 -2
  25. data/dist/ice/cpp/include/generated/Ice/EndpointTypes.h +2 -2
  26. data/dist/ice/cpp/include/generated/Ice/FacetMap.h +2 -2
  27. data/dist/ice/cpp/include/generated/Ice/Identity.h +2 -2
  28. data/dist/ice/cpp/include/generated/Ice/ImplicitContext.h +2 -2
  29. data/dist/ice/cpp/include/generated/Ice/ImplicitContextF.h +2 -2
  30. data/dist/ice/cpp/include/generated/Ice/Instrumentation.h +2 -2
  31. data/dist/ice/cpp/include/generated/Ice/InstrumentationF.h +2 -2
  32. data/dist/ice/cpp/include/generated/Ice/LocalException.h +2 -2
  33. data/dist/ice/cpp/include/generated/Ice/Locator.h +2 -2
  34. data/dist/ice/cpp/include/generated/Ice/LocatorF.h +2 -2
  35. data/dist/ice/cpp/include/generated/Ice/Logger.h +2 -2
  36. data/dist/ice/cpp/include/generated/Ice/LoggerF.h +2 -2
  37. data/dist/ice/cpp/include/generated/Ice/Metrics.h +2 -2
  38. data/dist/ice/cpp/include/generated/Ice/ObjectAdapter.h +2 -2
  39. data/dist/ice/cpp/include/generated/Ice/ObjectAdapterF.h +2 -2
  40. data/dist/ice/cpp/include/generated/Ice/ObjectFactory.h +2 -2
  41. data/dist/ice/cpp/include/generated/Ice/Plugin.h +2 -2
  42. data/dist/ice/cpp/include/generated/Ice/PluginF.h +2 -2
  43. data/dist/ice/cpp/include/generated/Ice/Process.h +2 -2
  44. data/dist/ice/cpp/include/generated/Ice/ProcessF.h +2 -2
  45. data/dist/ice/cpp/include/generated/Ice/Properties.h +2 -2
  46. data/dist/ice/cpp/include/generated/Ice/PropertiesAdmin.h +2 -2
  47. data/dist/ice/cpp/include/generated/Ice/PropertiesF.h +2 -2
  48. data/dist/ice/cpp/include/generated/Ice/RemoteLogger.h +2 -2
  49. data/dist/ice/cpp/include/generated/Ice/Router.h +2 -2
  50. data/dist/ice/cpp/include/generated/Ice/RouterF.h +2 -2
  51. data/dist/ice/cpp/include/generated/Ice/ServantLocator.h +2 -2
  52. data/dist/ice/cpp/include/generated/Ice/ServantLocatorF.h +2 -2
  53. data/dist/ice/cpp/include/generated/Ice/SliceChecksumDict.h +2 -2
  54. data/dist/ice/cpp/include/generated/Ice/ValueFactory.h +2 -2
  55. data/dist/ice/cpp/include/generated/Ice/Version.h +2 -2
  56. data/dist/ice/cpp/include/generated/IceBox/IceBox.h +2 -2
  57. data/dist/ice/cpp/include/generated/IceGrid/Admin.h +2 -2
  58. data/dist/ice/cpp/include/generated/IceGrid/Descriptor.h +2 -2
  59. data/dist/ice/cpp/include/generated/IceGrid/Exception.h +2 -2
  60. data/dist/ice/cpp/include/generated/IceGrid/FileParser.h +2 -2
  61. data/dist/ice/cpp/include/generated/IceGrid/PluginFacade.h +2 -2
  62. data/dist/ice/cpp/include/generated/IceGrid/Registry.h +2 -2
  63. data/dist/ice/cpp/include/generated/IceGrid/Session.h +2 -2
  64. data/dist/ice/cpp/include/generated/IceGrid/UserAccountMapper.h +2 -2
  65. data/dist/ice/cpp/include/generated/IcePatch2/FileInfo.h +2 -2
  66. data/dist/ice/cpp/include/generated/IcePatch2/FileServer.h +2 -2
  67. data/dist/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +2 -2
  68. data/dist/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +2 -2
  69. data/dist/ice/cpp/include/generated/IceSSL/EndpointInfo.h +2 -2
  70. data/dist/ice/cpp/include/generated/IceStorm/IceStorm.h +2 -2
  71. data/dist/ice/cpp/include/generated/IceStorm/Metrics.h +2 -2
  72. data/dist/ice/cpp/src/Ice/BatchRequestQueue.cpp +31 -12
  73. data/dist/ice/cpp/src/Ice/BatchRequestQueue.h +7 -0
  74. data/dist/ice/cpp/src/Ice/CommunicatorI.cpp +10 -0
  75. data/dist/ice/cpp/src/Ice/ConnectionI.cpp +45 -0
  76. data/dist/ice/cpp/src/Ice/IPEndpointI.cpp +6 -0
  77. data/dist/ice/cpp/src/Ice/InputStream.cpp +25 -8
  78. data/dist/ice/cpp/src/Ice/Network.cpp +37 -24
  79. data/dist/ice/cpp/src/Ice/NetworkProxy.cpp +15 -4
  80. data/dist/ice/cpp/src/Ice/ObjectAdapterI.cpp +1 -0
  81. data/dist/ice/cpp/src/Ice/Reference.cpp +6 -0
  82. data/dist/ice/cpp/src/Ice/ReferenceFactory.cpp +3 -1
  83. data/dist/ice/cpp/src/Ice/Selector.cpp +13 -5
  84. data/dist/ice/cpp/src/Ice/Timer.cpp +8 -2
  85. data/dist/ice/cpp/src/Ice/UdpTransceiver.cpp +52 -34
  86. data/dist/ice/cpp/src/Ice/WSTransceiver.cpp +79 -13
  87. data/dist/ice/cpp/src/Ice/generated/BuiltinSequences.cpp +2 -2
  88. data/dist/ice/cpp/src/Ice/generated/Communicator.cpp +2 -2
  89. data/dist/ice/cpp/src/Ice/generated/CommunicatorF.cpp +2 -2
  90. data/dist/ice/cpp/src/Ice/generated/Connection.cpp +2 -2
  91. data/dist/ice/cpp/src/Ice/generated/ConnectionF.cpp +2 -2
  92. data/dist/ice/cpp/src/Ice/generated/Current.cpp +2 -2
  93. data/dist/ice/cpp/src/Ice/generated/Endpoint.cpp +2 -2
  94. data/dist/ice/cpp/src/Ice/generated/EndpointF.cpp +2 -2
  95. data/dist/ice/cpp/src/Ice/generated/EndpointTypes.cpp +2 -2
  96. data/dist/ice/cpp/src/Ice/generated/FacetMap.cpp +2 -2
  97. data/dist/ice/cpp/src/Ice/generated/Identity.cpp +2 -2
  98. data/dist/ice/cpp/src/Ice/generated/ImplicitContext.cpp +2 -2
  99. data/dist/ice/cpp/src/Ice/generated/ImplicitContextF.cpp +2 -2
  100. data/dist/ice/cpp/src/Ice/generated/Instrumentation.cpp +2 -2
  101. data/dist/ice/cpp/src/Ice/generated/InstrumentationF.cpp +2 -2
  102. data/dist/ice/cpp/src/Ice/generated/LocalException.cpp +2 -2
  103. data/dist/ice/cpp/src/Ice/generated/Locator.cpp +2 -2
  104. data/dist/ice/cpp/src/Ice/generated/LocatorF.cpp +2 -2
  105. data/dist/ice/cpp/src/Ice/generated/Logger.cpp +2 -2
  106. data/dist/ice/cpp/src/Ice/generated/LoggerF.cpp +2 -2
  107. data/dist/ice/cpp/src/Ice/generated/Metrics.cpp +2 -2
  108. data/dist/ice/cpp/src/Ice/generated/ObjectAdapter.cpp +2 -2
  109. data/dist/ice/cpp/src/Ice/generated/ObjectAdapterF.cpp +2 -2
  110. data/dist/ice/cpp/src/Ice/generated/ObjectFactory.cpp +2 -2
  111. data/dist/ice/cpp/src/Ice/generated/Plugin.cpp +2 -2
  112. data/dist/ice/cpp/src/Ice/generated/PluginF.cpp +2 -2
  113. data/dist/ice/cpp/src/Ice/generated/Process.cpp +2 -2
  114. data/dist/ice/cpp/src/Ice/generated/ProcessF.cpp +2 -2
  115. data/dist/ice/cpp/src/Ice/generated/Properties.cpp +2 -2
  116. data/dist/ice/cpp/src/Ice/generated/PropertiesAdmin.cpp +2 -2
  117. data/dist/ice/cpp/src/Ice/generated/PropertiesF.cpp +2 -2
  118. data/dist/ice/cpp/src/Ice/generated/RemoteLogger.cpp +2 -2
  119. data/dist/ice/cpp/src/Ice/generated/Router.cpp +2 -2
  120. data/dist/ice/cpp/src/Ice/generated/RouterF.cpp +2 -2
  121. data/dist/ice/cpp/src/Ice/generated/ServantLocator.cpp +2 -2
  122. data/dist/ice/cpp/src/Ice/generated/ServantLocatorF.cpp +2 -2
  123. data/dist/ice/cpp/src/Ice/generated/SliceChecksumDict.cpp +2 -2
  124. data/dist/ice/cpp/src/Ice/generated/ValueFactory.cpp +2 -2
  125. data/dist/ice/cpp/src/Ice/generated/Version.cpp +2 -2
  126. data/dist/ice/cpp/src/IceDiscovery/generated/IceDiscovery/IceDiscovery.h +2 -2
  127. data/dist/ice/cpp/src/IceDiscovery/generated/IceDiscovery.cpp +2 -2
  128. data/dist/ice/cpp/src/IceLocatorDiscovery/generated/IceLocatorDiscovery/IceLocatorDiscovery.h +2 -2
  129. data/dist/ice/cpp/src/IceLocatorDiscovery/generated/IceLocatorDiscovery.cpp +2 -2
  130. data/dist/ice/cpp/src/IceSSL/OpenSSLEngine.cpp +17 -9
  131. data/dist/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +1 -0
  132. data/dist/ice/cpp/src/IceSSL/OpenSSLUtil.cpp +2 -0
  133. data/dist/ice/cpp/src/IceSSL/RFC2253.cpp +1 -1
  134. data/dist/ice/cpp/src/IceSSL/SChannelEngine.cpp +12 -2
  135. data/dist/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +2 -1
  136. data/dist/ice/cpp/src/IceSSL/SSLEngine.cpp +16 -1
  137. data/dist/ice/cpp/src/IceSSL/SecureTransportEngine.cpp +107 -2
  138. data/dist/ice/cpp/src/IceSSL/SecureTransportEngine.h +7 -0
  139. data/dist/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +2 -0
  140. data/dist/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +1 -1
  141. data/dist/ice/cpp/src/IceSSL/TrustManager.cpp +12 -1
  142. data/dist/ice/cpp/src/IceSSL/generated/ConnectionInfo.cpp +2 -2
  143. data/dist/ice/cpp/src/IceSSL/generated/ConnectionInfoF.cpp +2 -2
  144. data/dist/ice/cpp/src/IceSSL/generated/EndpointInfo.cpp +2 -2
  145. data/dist/ice/cpp/src/IceUtil/ConvertUTF.cpp +4 -0
  146. data/dist/ice/cpp/src/IceUtil/FileUtil.cpp +1 -1
  147. data/dist/ice/cpp/src/IceUtil/Time.cpp +4 -4
  148. data/dist/ice/cpp/src/Slice/JavaUtil.cpp +4 -4
  149. data/dist/lib/Glacier2/Metrics.rb +1 -1
  150. data/dist/lib/Glacier2/PermissionsVerifier.rb +1 -1
  151. data/dist/lib/Glacier2/PermissionsVerifierF.rb +1 -1
  152. data/dist/lib/Glacier2/Router.rb +1 -1
  153. data/dist/lib/Glacier2/RouterF.rb +1 -1
  154. data/dist/lib/Glacier2/SSLInfo.rb +1 -1
  155. data/dist/lib/Glacier2/Session.rb +1 -1
  156. data/dist/lib/Ice/BuiltinSequences.rb +1 -1
  157. data/dist/lib/Ice/Communicator.rb +1 -1
  158. data/dist/lib/Ice/CommunicatorF.rb +1 -1
  159. data/dist/lib/Ice/Connection.rb +1 -1
  160. data/dist/lib/Ice/ConnectionF.rb +1 -1
  161. data/dist/lib/Ice/Current.rb +1 -1
  162. data/dist/lib/Ice/Endpoint.rb +1 -1
  163. data/dist/lib/Ice/EndpointF.rb +1 -1
  164. data/dist/lib/Ice/EndpointTypes.rb +1 -1
  165. data/dist/lib/Ice/FacetMap.rb +1 -1
  166. data/dist/lib/Ice/Identity.rb +1 -1
  167. data/dist/lib/Ice/ImplicitContext.rb +1 -1
  168. data/dist/lib/Ice/ImplicitContextF.rb +1 -1
  169. data/dist/lib/Ice/Instrumentation.rb +1 -1
  170. data/dist/lib/Ice/InstrumentationF.rb +1 -1
  171. data/dist/lib/Ice/LocalException.rb +1 -1
  172. data/dist/lib/Ice/Locator.rb +1 -1
  173. data/dist/lib/Ice/LocatorF.rb +1 -1
  174. data/dist/lib/Ice/Logger.rb +1 -1
  175. data/dist/lib/Ice/LoggerF.rb +1 -1
  176. data/dist/lib/Ice/Metrics.rb +1 -1
  177. data/dist/lib/Ice/ObjectAdapter.rb +1 -1
  178. data/dist/lib/Ice/ObjectAdapterF.rb +1 -1
  179. data/dist/lib/Ice/ObjectFactory.rb +1 -1
  180. data/dist/lib/Ice/Plugin.rb +1 -1
  181. data/dist/lib/Ice/PluginF.rb +1 -1
  182. data/dist/lib/Ice/Process.rb +1 -1
  183. data/dist/lib/Ice/ProcessF.rb +1 -1
  184. data/dist/lib/Ice/Properties.rb +1 -1
  185. data/dist/lib/Ice/PropertiesAdmin.rb +1 -1
  186. data/dist/lib/Ice/PropertiesF.rb +1 -1
  187. data/dist/lib/Ice/RemoteLogger.rb +1 -1
  188. data/dist/lib/Ice/Router.rb +1 -1
  189. data/dist/lib/Ice/RouterF.rb +1 -1
  190. data/dist/lib/Ice/ServantLocator.rb +1 -1
  191. data/dist/lib/Ice/ServantLocatorF.rb +1 -1
  192. data/dist/lib/Ice/SliceChecksumDict.rb +1 -1
  193. data/dist/lib/Ice/ValueFactory.rb +1 -1
  194. data/dist/lib/Ice/Version.rb +1 -1
  195. data/dist/lib/IceBox/IceBox.rb +1 -1
  196. data/dist/lib/IceGrid/Admin.rb +1 -1
  197. data/dist/lib/IceGrid/Descriptor.rb +1 -1
  198. data/dist/lib/IceGrid/Exception.rb +1 -1
  199. data/dist/lib/IceGrid/FileParser.rb +1 -1
  200. data/dist/lib/IceGrid/PluginFacade.rb +1 -1
  201. data/dist/lib/IceGrid/Registry.rb +1 -1
  202. data/dist/lib/IceGrid/Session.rb +1 -1
  203. data/dist/lib/IceGrid/UserAccountMapper.rb +1 -1
  204. data/dist/lib/IcePatch2/FileInfo.rb +1 -1
  205. data/dist/lib/IcePatch2/FileServer.rb +1 -1
  206. data/dist/lib/IceStorm/IceStorm.rb +1 -1
  207. data/dist/lib/IceStorm/Metrics.rb +1 -1
  208. data/ice.gemspec +1 -1
  209. metadata +1 -1
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.11
5
+ // Ice version 3.7.12
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -41,7 +41,7 @@
41
41
  # if ICE_INT_VERSION % 100 >= 50
42
42
  # error Beta header file detected
43
43
  # endif
44
- # if ICE_INT_VERSION % 100 < 11
44
+ # if ICE_INT_VERSION % 100 < 12
45
45
  # error Ice patch level mismatch!
46
46
  # endif
47
47
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.11
5
+ // Ice version 3.7.12
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -35,7 +35,7 @@
35
35
  # if ICE_INT_VERSION % 100 >= 50
36
36
  # error Beta header file detected
37
37
  # endif
38
- # if ICE_INT_VERSION % 100 < 11
38
+ # if ICE_INT_VERSION % 100 < 12
39
39
  # error Ice patch level mismatch!
40
40
  # endif
41
41
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.11
5
+ // Ice version 3.7.12
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -37,7 +37,7 @@
37
37
  # if ICE_INT_VERSION % 100 >= 50
38
38
  # error Beta header file detected
39
39
  # endif
40
- # if ICE_INT_VERSION % 100 < 11
40
+ # if ICE_INT_VERSION % 100 < 12
41
41
  # error Ice patch level mismatch!
42
42
  # endif
43
43
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.11
5
+ // Ice version 3.7.12
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -37,7 +37,7 @@
37
37
  # if ICE_INT_VERSION % 100 >= 50
38
38
  # error Beta header file detected
39
39
  # endif
40
- # if ICE_INT_VERSION % 100 < 11
40
+ # if ICE_INT_VERSION % 100 < 12
41
41
  # error Ice patch level mismatch!
42
42
  # endif
43
43
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.11
5
+ // Ice version 3.7.12
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -35,7 +35,7 @@
35
35
  # if ICE_INT_VERSION % 100 >= 50
36
36
  # error Beta header file detected
37
37
  # endif
38
- # if ICE_INT_VERSION % 100 < 11
38
+ # if ICE_INT_VERSION % 100 < 12
39
39
  # error Ice patch level mismatch!
40
40
  # endif
41
41
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.11
5
+ // Ice version 3.7.12
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -40,7 +40,7 @@
40
40
  # if ICE_INT_VERSION % 100 >= 50
41
41
  # error Beta header file detected
42
42
  # endif
43
- # if ICE_INT_VERSION % 100 < 11
43
+ # if ICE_INT_VERSION % 100 < 12
44
44
  # error Ice patch level mismatch!
45
45
  # endif
46
46
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.11
5
+ // Ice version 3.7.12
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -37,7 +37,7 @@
37
37
  # if ICE_INT_VERSION % 100 >= 50
38
38
  # error Beta header file detected
39
39
  # endif
40
- # if ICE_INT_VERSION % 100 < 11
40
+ # if ICE_INT_VERSION % 100 < 12
41
41
  # error Ice patch level mismatch!
42
42
  # endif
43
43
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.11
5
+ // Ice version 3.7.12
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -40,7 +40,7 @@
40
40
  # if ICE_INT_VERSION % 100 >= 50
41
41
  # error Beta header file detected
42
42
  # endif
43
- # if ICE_INT_VERSION % 100 < 11
43
+ # if ICE_INT_VERSION % 100 < 12
44
44
  # error Ice patch level mismatch!
45
45
  # endif
46
46
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.11
5
+ // Ice version 3.7.12
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -40,7 +40,7 @@
40
40
  # if ICE_INT_VERSION % 100 >= 50
41
41
  # error Beta header file detected
42
42
  # endif
43
- # if ICE_INT_VERSION % 100 < 11
43
+ # if ICE_INT_VERSION % 100 < 12
44
44
  # error Ice patch level mismatch!
45
45
  # endif
46
46
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.11
5
+ // Ice version 3.7.12
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -37,7 +37,7 @@
37
37
  # if ICE_INT_VERSION % 100 >= 50
38
38
  # error Beta header file detected
39
39
  # endif
40
- # if ICE_INT_VERSION % 100 < 11
40
+ # if ICE_INT_VERSION % 100 < 12
41
41
  # error Ice patch level mismatch!
42
42
  # endif
43
43
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.11
5
+ // Ice version 3.7.12
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -41,7 +41,7 @@
41
41
  # if ICE_INT_VERSION % 100 >= 50
42
42
  # error Beta header file detected
43
43
  # endif
44
- # if ICE_INT_VERSION % 100 < 11
44
+ # if ICE_INT_VERSION % 100 < 12
45
45
  # error Ice patch level mismatch!
46
46
  # endif
47
47
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.11
5
+ // Ice version 3.7.12
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -40,7 +40,7 @@
40
40
  # if ICE_INT_VERSION % 100 >= 50
41
41
  # error Beta header file detected
42
42
  # endif
43
- # if ICE_INT_VERSION % 100 < 11
43
+ # if ICE_INT_VERSION % 100 < 12
44
44
  # error Ice patch level mismatch!
45
45
  # endif
46
46
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.11
5
+ // Ice version 3.7.12
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -37,7 +37,7 @@
37
37
  # if ICE_INT_VERSION % 100 >= 50
38
38
  # error Beta header file detected
39
39
  # endif
40
- # if ICE_INT_VERSION % 100 < 11
40
+ # if ICE_INT_VERSION % 100 < 12
41
41
  # error Ice patch level mismatch!
42
42
  # endif
43
43
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.11
5
+ // Ice version 3.7.12
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -37,7 +37,7 @@
37
37
  # if ICE_INT_VERSION % 100 >= 50
38
38
  # error Beta header file detected
39
39
  # endif
40
- # if ICE_INT_VERSION % 100 < 11
40
+ # if ICE_INT_VERSION % 100 < 12
41
41
  # error Ice patch level mismatch!
42
42
  # endif
43
43
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.11
5
+ // Ice version 3.7.12
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -35,7 +35,7 @@
35
35
  # if ICE_INT_VERSION % 100 >= 50
36
36
  # error Beta header file detected
37
37
  # endif
38
- # if ICE_INT_VERSION % 100 < 11
38
+ # if ICE_INT_VERSION % 100 < 12
39
39
  # error Ice patch level mismatch!
40
40
  # endif
41
41
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.11
5
+ // Ice version 3.7.12
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -37,7 +37,7 @@
37
37
  # if ICE_INT_VERSION % 100 >= 50
38
38
  # error Beta header file detected
39
39
  # endif
40
- # if ICE_INT_VERSION % 100 < 11
40
+ # if ICE_INT_VERSION % 100 < 12
41
41
  # error Ice patch level mismatch!
42
42
  # endif
43
43
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.11
5
+ // Ice version 3.7.12
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -37,7 +37,7 @@
37
37
  # if ICE_INT_VERSION % 100 >= 50
38
38
  # error Beta header file detected
39
39
  # endif
40
- # if ICE_INT_VERSION % 100 < 11
40
+ # if ICE_INT_VERSION % 100 < 12
41
41
  # error Ice patch level mismatch!
42
42
  # endif
43
43
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.11
5
+ // Ice version 3.7.12
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -37,7 +37,7 @@
37
37
  # if ICE_INT_VERSION % 100 >= 50
38
38
  # error Beta header file detected
39
39
  # endif
40
- # if ICE_INT_VERSION % 100 < 11
40
+ # if ICE_INT_VERSION % 100 < 12
41
41
  # error Ice patch level mismatch!
42
42
  # endif
43
43
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.11
5
+ // Ice version 3.7.12
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -42,7 +42,7 @@
42
42
  # if ICE_INT_VERSION % 100 >= 50
43
43
  # error Beta header file detected
44
44
  # endif
45
- # if ICE_INT_VERSION % 100 < 11
45
+ # if ICE_INT_VERSION % 100 < 12
46
46
  # error Ice patch level mismatch!
47
47
  # endif
48
48
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.11
5
+ // Ice version 3.7.12
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -37,7 +37,7 @@
37
37
  # if ICE_INT_VERSION % 100 >= 50
38
38
  # error Beta header file detected
39
39
  # endif
40
- # if ICE_INT_VERSION % 100 < 11
40
+ # if ICE_INT_VERSION % 100 < 12
41
41
  # error Ice patch level mismatch!
42
42
  # endif
43
43
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.11
5
+ // Ice version 3.7.12
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -44,7 +44,7 @@
44
44
  # if ICE_INT_VERSION % 100 >= 50
45
45
  # error Beta header file detected
46
46
  # endif
47
- # if ICE_INT_VERSION % 100 < 11
47
+ # if ICE_INT_VERSION % 100 < 12
48
48
  # error Ice patch level mismatch!
49
49
  # endif
50
50
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.11
5
+ // Ice version 3.7.12
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -38,7 +38,7 @@
38
38
  # if ICE_INT_VERSION % 100 >= 50
39
39
  # error Beta header file detected
40
40
  # endif
41
- # if ICE_INT_VERSION % 100 < 11
41
+ # if ICE_INT_VERSION % 100 < 12
42
42
  # error Ice patch level mismatch!
43
43
  # endif
44
44
  #endif
@@ -28,6 +28,7 @@
28
28
 
29
29
  #ifdef _MSC_VER
30
30
  # pragma warning(disable:4127) // conditional expression is constant
31
+ # pragma warning(disable:4996) // OpenSSL 3.0 deprecation warning
31
32
  #elif defined(__GNUC__)
32
33
  # // Ignore OpenSSL 3.0 deprecation warning
33
34
  # pragma GCC diagnostic ignored "-Wdeprecated-declarations"
@@ -105,24 +106,22 @@ IceSSL_opensslPasswordCallback(char* buf, int size, int flag, void* userData)
105
106
  OpenSSL::SSLEngine* p = reinterpret_cast<OpenSSL::SSLEngine*>(userData);
106
107
  assert(p);
107
108
  string passwd = p->password(flag == 1);
108
- int sz = static_cast<int>(passwd.size());
109
- if(sz > size)
110
- {
111
- sz = size - 1;
112
- }
109
+
110
+ // Follow the OpenSSL documentation example: copy the password into the buffer, truncating if necessary, and
111
+ // null-terminate. See https://docs.openssl.org/3.0/man3/SSL_CTX_set_default_passwd_cb/#examples
113
112
  #if defined(_WIN32)
114
- strncpy_s(buf, size, passwd.c_str(), sz);
113
+ strncpy_s(buf, size, passwd.c_str(), _TRUNCATE);
115
114
  #else
116
- strncpy(buf, passwd.c_str(), sz);
115
+ strncpy(buf, passwd.c_str(), static_cast<size_t>(size));
117
116
  #endif
118
- buf[sz] = '\0';
117
+ buf[size - 1] = '\0';
119
118
 
120
119
  for(string::iterator i = passwd.begin(); i != passwd.end(); ++i)
121
120
  {
122
121
  *i = '\0';
123
122
  }
124
123
 
125
- return sz;
124
+ return static_cast<int>(strlen(buf));
126
125
  }
127
126
 
128
127
  #ifndef OPENSSL_NO_DH
@@ -891,6 +890,15 @@ OpenSSL::SSLEngine::initialize()
891
890
  //
892
891
  SSL_CTX_set_ex_data(_ctx, 0, this);
893
892
 
893
+ #ifdef SSL_OP_NO_RENEGOTIATION
894
+ //
895
+ // Reject peer-initiated TLS renegotiation: it is a CPU-asymmetric denial-of-service primitive
896
+ // on TLS 1.2 and is removed entirely in TLS 1.3. This is applied to application-supplied
897
+ // contexts as well. SSL_OP_NO_RENEGOTIATION requires OpenSSL 1.1.0h or later.
898
+ //
899
+ SSL_CTX_set_options(_ctx, SSL_OP_NO_RENEGOTIATION);
900
+ #endif
901
+
894
902
  //
895
903
  // This is necessary for successful interop with Java. Without it, a Java
896
904
  // client would fail to reestablish a connection: the server gets the
@@ -1028,6 +1028,7 @@ OpenSSL::TransceiverI::TransceiverI(const InstancePtr& instance,
1028
1028
  _delegate(delegate),
1029
1029
  _connected(false),
1030
1030
  _verified(false),
1031
+ _trustError(IceSSL::ICE_ENUM(TrustError, NoError)),
1031
1032
  _ssl(0),
1032
1033
  _memBio(0),
1033
1034
  _sentBytes(0),
@@ -12,6 +12,8 @@
12
12
  # pragma GCC diagnostic ignored "-Wold-style-cast"
13
13
  # // Ignore OpenSSL 3.0 deprecation warning
14
14
  # pragma GCC diagnostic ignored "-Wdeprecated-declarations"
15
+ #elif defined(_MSC_VER)
16
+ # pragma warning(disable:4996) // OpenSSL 3.0 deprecation warning
15
17
  #endif
16
18
 
17
19
  using namespace std;
@@ -188,7 +188,7 @@ static char
188
188
  unescapeHex(const string& data, size_t pos)
189
189
  {
190
190
  assert(pos < data.size());
191
- if(pos + 2 >= data.size())
191
+ if(pos + 2 > data.size())
192
192
  {
193
193
  throw ParseException(__FILE__, __LINE__, "unescape: invalid hex pair");
194
194
  }
@@ -322,7 +322,12 @@ findCertificates(const string& location, const string& storeName, const string&
322
322
  if((next = CertFindCertificateInStore(store, X509_ASN_ENCODING | PKCS_7_ASN_ENCODING, 0, CERT_FIND_ANY, 0,
323
323
  next)) != 0)
324
324
  {
325
- certs.push_back(next);
325
+ //
326
+ // CertFindCertificateInStore frees the context passed as pPrevCertContext on the next iteration
327
+ // (and frees the last one when it returns null). Duplicate the context to keep an owned reference
328
+ // that remains valid after enumeration; these duplicates are released in destroy().
329
+ //
330
+ certs.push_back(CertDuplicateCertificateContext(next));
326
331
  }
327
332
  }
328
333
  while(next);
@@ -375,7 +380,12 @@ addCertificatesToStore(const string& file, HCERTSTORE store, PCCERT_CONTEXT* cer
375
380
  if(startpos != string::npos)
376
381
  {
377
382
  endpos = strbuf.find("-----END CERTIFICATE-----", startpos);
378
- size = endpos - startpos + sizeof("-----END CERTIFICATE-----");
383
+ if(endpos == string::npos)
384
+ {
385
+ throw PluginInitializationException(__FILE__, __LINE__,
386
+ "IceSSL: malformed PEM certificate (missing END marker):\n" + file);
387
+ }
388
+ size = endpos - startpos + sizeof("-----END CERTIFICATE-----") - 1;
379
389
  }
380
390
  else if(first)
381
391
  {
@@ -1150,7 +1150,8 @@ SChannel::TransceiverI::TransceiverI(const InstancePtr& instance,
1150
1150
  _bufferedW(0),
1151
1151
  _sslInitialized(false),
1152
1152
  _credentialsInitialized(false),
1153
- _verified(false)
1153
+ _verified(false),
1154
+ _trustError(IceSSL::ICE_ENUM(TrustError, NoError))
1154
1155
  {
1155
1156
  }
1156
1157
 
@@ -28,6 +28,11 @@ IceSSL::SSLEngine::SSLEngine(const Ice::CommunicatorPtr& communicator) :
28
28
  _communicator(communicator),
29
29
  _logger(communicator->getLogger()),
30
30
  _trustManager(new TrustManager(communicator)),
31
+ _checkCertName(false),
32
+ _serverNameIndication(false),
33
+ _verifyDepthMax(0),
34
+ _verifyPeer(0),
35
+ _securityTraceLevel(0),
31
36
  _revocationCheckCacheOnly(false),
32
37
  _revocationCheck(0)
33
38
  {
@@ -193,7 +198,17 @@ IceSSL::SSLEngine::verifyPeerCertName(const string& address, const ConnectionInf
193
198
  //
194
199
  if(dnsNames.empty())
195
200
  {
196
- DistinguishedName d = cert->getSubjectDN();
201
+ DistinguishedName d = DistinguishedName(list<pair<string, string> >());
202
+ try
203
+ {
204
+ d = cert->getSubjectDN();
205
+ }
206
+ catch(const ParseException& ex)
207
+ {
208
+ throw SecurityException(__FILE__, __LINE__,
209
+ "IceSSL: certificate verification failure:\n"
210
+ "unable to parse certificate DN:\n" + ex.reason);
211
+ }
197
212
  string dn = IceUtilInternal::toLower(string(d));
198
213
  string cn = "cn=" + addrLower;
199
214
  string::size_type pos = dn.find(cn);