glib2 1.2.5-x86-mingw32 → 1.2.6-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1752) hide show
  1. data/Rakefile +3 -3
  2. data/ext/glib2/rbglib.c +0 -1
  3. data/ext/glib2/rbglib.h +1 -1
  4. data/ext/glib2/rbglib2conversions.h +0 -2
  5. data/ext/glib2/rbglib_source.c +9 -6
  6. data/ext/glib2/rbgobj_closure.c +4 -2
  7. data/ext/glib2/rbgprivate.h +0 -1
  8. data/lib/1.9/glib2.so +0 -0
  9. data/lib/2.0/glib2.so +0 -0
  10. data/lib/glib-mkenums.rb +1 -3
  11. data/lib/gnome2-raketask.rb +3 -0
  12. data/lib/gnome2-win32-binary-build-task.rb +4 -2
  13. data/test/test_source.rb +29 -0
  14. data/vendor/local/bin/certtool.exe +0 -0
  15. data/vendor/local/bin/danetool.exe +0 -0
  16. data/vendor/local/bin/gdbus-codegen +1 -1
  17. data/vendor/local/bin/gdbus.exe +0 -0
  18. data/vendor/local/bin/gio-querymodules.exe +0 -0
  19. data/vendor/local/bin/glib-compile-resources.exe +0 -0
  20. data/vendor/local/bin/glib-compile-schemas.exe +0 -0
  21. data/vendor/local/bin/glib-genmarshal.exe +0 -0
  22. data/vendor/local/bin/glib-gettextize +1 -1
  23. data/vendor/local/bin/glib-mkenums +1 -1
  24. data/vendor/local/bin/gnutls-cli-debug.exe +0 -0
  25. data/vendor/local/bin/gnutls-cli.exe +0 -0
  26. data/vendor/local/bin/gnutls-serv.exe +0 -0
  27. data/vendor/local/bin/gobject-query.exe +0 -0
  28. data/vendor/local/bin/gresource.exe +0 -0
  29. data/vendor/local/bin/gsettings.exe +0 -0
  30. data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
  31. data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
  32. data/vendor/local/bin/libgio-2.0-0.dll +0 -0
  33. data/vendor/local/bin/libglib-2.0-0.dll +0 -0
  34. data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
  35. data/vendor/local/bin/libgmp-10.dll +0 -0
  36. data/vendor/local/bin/libgnutls-28.def +837 -803
  37. data/vendor/local/bin/libgnutls-28.dll +0 -0
  38. data/vendor/local/bin/libgnutls-openssl-27.dll +0 -0
  39. data/vendor/local/bin/libgnutls-openssl-28.def +200 -194
  40. data/vendor/local/bin/libgnutls-xssl-0.dll +0 -0
  41. data/vendor/local/bin/libgnutls-xssl-28.def +176 -0
  42. data/vendor/local/bin/libgnutlsxx-28.dll +0 -0
  43. data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
  44. data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
  45. data/vendor/local/bin/libhogweed-2-2.dll +0 -0
  46. data/vendor/local/bin/libnettle-4-4.dll +0 -0
  47. data/vendor/local/bin/nettle-hash.exe +0 -0
  48. data/vendor/local/bin/nettle-lfib-stream.exe +0 -0
  49. data/vendor/local/bin/ocsptool.exe +0 -0
  50. data/vendor/local/bin/pkcs1-conv.exe +0 -0
  51. data/vendor/local/bin/psktool.exe +0 -0
  52. data/vendor/local/bin/sexp-conv.exe +0 -0
  53. data/vendor/local/bin/srptool.exe +0 -0
  54. data/vendor/local/include/gio-win32-2.0/gio/gwin32inputstream.h +5 -0
  55. data/vendor/local/include/gio-win32-2.0/gio/gwin32outputstream.h +5 -0
  56. data/vendor/local/include/glib-2.0/gio/gaction.h +11 -3
  57. data/vendor/local/include/glib-2.0/gio/gactiongroup.h +17 -3
  58. data/vendor/local/include/glib-2.0/gio/gactiongroupexporter.h +3 -3
  59. data/vendor/local/include/glib-2.0/gio/gactionmap.h +7 -3
  60. data/vendor/local/include/glib-2.0/gio/gappinfo.h +43 -4
  61. data/vendor/local/include/glib-2.0/gio/gapplication.h +41 -3
  62. data/vendor/local/include/glib-2.0/gio/gapplicationcommandline.h +27 -8
  63. data/vendor/local/include/glib-2.0/gio/gasyncinitable.h +10 -3
  64. data/vendor/local/include/glib-2.0/gio/gasyncresult.h +7 -4
  65. data/vendor/local/include/glib-2.0/gio/gbufferedinputstream.h +15 -3
  66. data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +10 -3
  67. data/vendor/local/include/glib-2.0/gio/gcancellable.h +18 -3
  68. data/vendor/local/include/glib-2.0/gio/gcharsetconverter.h +8 -3
  69. data/vendor/local/include/glib-2.0/gio/gcontenttype.h +15 -3
  70. data/vendor/local/include/glib-2.0/gio/gconverter.h +6 -3
  71. data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +6 -3
  72. data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +6 -3
  73. data/vendor/local/include/glib-2.0/gio/gcredentials.h +14 -3
  74. data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +25 -3
  75. data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +15 -3
  76. data/vendor/local/include/glib-2.0/gio/gdbusactiongroup.h +4 -3
  77. data/vendor/local/include/glib-2.0/gio/gdbusaddress.h +12 -3
  78. data/vendor/local/include/glib-2.0/gio/gdbusauthobserver.h +6 -3
  79. data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +44 -3
  80. data/vendor/local/include/glib-2.0/gio/gdbuserror.h +16 -5
  81. data/vendor/local/include/glib-2.0/gio/gdbusinterface.h +4 -0
  82. data/vendor/local/include/glib-2.0/gio/gdbusinterfaceskeleton.h +14 -0
  83. data/vendor/local/include/glib-2.0/gio/gdbusintrospection.h +34 -3
  84. data/vendor/local/include/glib-2.0/gio/gdbusmenumodel.h +2 -0
  85. data/vendor/local/include/glib-2.0/gio/gdbusmessage.h +53 -3
  86. data/vendor/local/include/glib-2.0/gio/gdbusmethodinvocation.h +24 -5
  87. data/vendor/local/include/glib-2.0/gio/gdbusnameowning.h +8 -3
  88. data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +14 -4
  89. data/vendor/local/include/glib-2.0/gio/gdbusobject.h +4 -0
  90. data/vendor/local/include/glib-2.0/gio/gdbusobjectmanager.h +5 -0
  91. data/vendor/local/include/glib-2.0/gio/gdbusobjectmanagerclient.h +11 -0
  92. data/vendor/local/include/glib-2.0/gio/gdbusobjectmanagerserver.h +8 -0
  93. data/vendor/local/include/glib-2.0/gio/gdbusobjectproxy.h +3 -0
  94. data/vendor/local/include/glib-2.0/gio/gdbusobjectskeleton.h +7 -0
  95. data/vendor/local/include/glib-2.0/gio/gdbusproxy.h +29 -3
  96. data/vendor/local/include/glib-2.0/gio/gdbusserver.h +11 -3
  97. data/vendor/local/include/glib-2.0/gio/gdbusutils.h +11 -3
  98. data/vendor/local/include/glib-2.0/gio/gdrive.h +28 -3
  99. data/vendor/local/include/glib-2.0/gio/gemblem.h +8 -3
  100. data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +9 -3
  101. data/vendor/local/include/glib-2.0/gio/gfile.h +115 -3
  102. data/vendor/local/include/glib-2.0/gio/gfileattribute.h +10 -3
  103. data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +17 -3
  104. data/vendor/local/include/glib-2.0/gio/gfileicon.h +6 -3
  105. data/vendor/local/include/glib-2.0/gio/gfileinfo.h +77 -3
  106. data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +7 -3
  107. data/vendor/local/include/glib-2.0/gio/gfileiostream.h +8 -3
  108. data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +8 -3
  109. data/vendor/local/include/glib-2.0/gio/gfilenamecompleter.h +8 -3
  110. data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +8 -3
  111. data/vendor/local/include/glib-2.0/gio/gfilterinputstream.h +7 -3
  112. data/vendor/local/include/glib-2.0/gio/gfilteroutputstream.h +7 -3
  113. data/vendor/local/include/glib-2.0/gio/gicon.h +8 -3
  114. data/vendor/local/include/glib-2.0/gio/ginetaddress.h +23 -3
  115. data/vendor/local/include/glib-2.0/gio/ginetaddressmask.h +9 -3
  116. data/vendor/local/include/glib-2.0/gio/ginetsocketaddress.h +7 -3
  117. data/vendor/local/include/glib-2.0/gio/ginitable.h +8 -3
  118. data/vendor/local/include/glib-2.0/gio/ginputstream.h +18 -3
  119. data/vendor/local/include/glib-2.0/gio/gio.h +2 -0
  120. data/vendor/local/include/glib-2.0/gio/gioenums.h +16 -10
  121. data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +70 -70
  122. data/vendor/local/include/glib-2.0/gio/gioerror.h +6 -3
  123. data/vendor/local/include/glib-2.0/gio/giomodule.h +26 -3
  124. data/vendor/local/include/glib-2.0/gio/gioscheduler.h +7 -3
  125. data/vendor/local/include/glib-2.0/gio/giostream.h +15 -3
  126. data/vendor/local/include/glib-2.0/gio/giotypes.h +4 -3
  127. data/vendor/local/include/glib-2.0/gio/gloadableicon.h +7 -3
  128. data/vendor/local/include/glib-2.0/gio/gmemoryinputstream.h +7 -3
  129. data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +11 -3
  130. data/vendor/local/include/glib-2.0/gio/gmenu.h +27 -0
  131. data/vendor/local/include/glib-2.0/gio/gmenumodel.h +83 -2
  132. data/vendor/local/include/glib-2.0/gio/gmount.h +27 -3
  133. data/vendor/local/include/glib-2.0/gio/gmountoperation.h +18 -3
  134. data/vendor/local/include/glib-2.0/gio/gnativevolumemonitor.h +4 -3
  135. data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +10 -3
  136. data/vendor/local/include/glib-2.0/gio/gnetworking.h +83 -0
  137. data/vendor/local/include/glib-2.0/gio/gnetworkmonitor.h +7 -3
  138. data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +10 -3
  139. data/vendor/local/include/glib-2.0/gio/goutputstream.h +22 -3
  140. data/vendor/local/include/glib-2.0/gio/gpermission.h +14 -3
  141. data/vendor/local/include/glib-2.0/gio/gpollableinputstream.h +8 -3
  142. data/vendor/local/include/glib-2.0/gio/gpollableoutputstream.h +8 -3
  143. data/vendor/local/include/glib-2.0/gio/gpollableutils.h +4 -3
  144. data/vendor/local/include/glib-2.0/gio/gproxy.h +9 -3
  145. data/vendor/local/include/glib-2.0/gio/gproxyaddress.h +10 -3
  146. data/vendor/local/include/glib-2.0/gio/gproxyaddressenumerator.h +4 -3
  147. data/vendor/local/include/glib-2.0/gio/gproxyresolver.h +9 -3
  148. data/vendor/local/include/glib-2.0/gio/gremoteactiongroup.h +3 -3
  149. data/vendor/local/include/glib-2.0/gio/gresolver.h +18 -3
  150. data/vendor/local/include/glib-2.0/gio/gresource.h +5 -3
  151. data/vendor/local/include/glib-2.0/gio/gseekable.h +9 -3
  152. data/vendor/local/include/glib-2.0/gio/gsettings.h +47 -3
  153. data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +12 -0
  154. data/vendor/local/include/glib-2.0/gio/gsettingsschema.h +4 -0
  155. data/vendor/local/include/glib-2.0/gio/gsimpleaction.h +8 -3
  156. data/vendor/local/include/glib-2.0/gio/gsimpleactiongroup.h +9 -3
  157. data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +31 -5
  158. data/vendor/local/include/glib-2.0/gio/gsimplepermission.h +5 -3
  159. data/vendor/local/include/glib-2.0/gio/gsimpleproxyresolver.h +91 -0
  160. data/vendor/local/include/glib-2.0/gio/gsocket.h +56 -3
  161. data/vendor/local/include/glib-2.0/gio/gsocketaddress.h +8 -3
  162. data/vendor/local/include/glib-2.0/gio/gsocketaddressenumerator.h +7 -3
  163. data/vendor/local/include/glib-2.0/gio/gsocketclient.h +39 -3
  164. data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +6 -3
  165. data/vendor/local/include/glib-2.0/gio/gsocketconnection.h +10 -3
  166. data/vendor/local/include/glib-2.0/gio/gsocketcontrolmessage.h +9 -3
  167. data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +17 -3
  168. data/vendor/local/include/glib-2.0/gio/gsocketservice.h +8 -3
  169. data/vendor/local/include/glib-2.0/gio/gsrvtarget.h +12 -3
  170. data/vendor/local/include/glib-2.0/gio/gtask.h +160 -0
  171. data/vendor/local/include/glib-2.0/gio/gtcpconnection.h +6 -3
  172. data/vendor/local/include/glib-2.0/gio/gtcpwrapperconnection.h +6 -3
  173. data/vendor/local/include/glib-2.0/gio/gtestdbus.h +3 -3
  174. data/vendor/local/include/glib-2.0/gio/gthemedicon.h +10 -3
  175. data/vendor/local/include/glib-2.0/gio/gthreadedsocketservice.h +5 -3
  176. data/vendor/local/include/glib-2.0/gio/gtlsbackend.h +11 -3
  177. data/vendor/local/include/glib-2.0/gio/gtlscertificate.h +10 -3
  178. data/vendor/local/include/glib-2.0/gio/gtlsclientconnection.h +12 -3
  179. data/vendor/local/include/glib-2.0/gio/gtlsconnection.h +21 -3
  180. data/vendor/local/include/glib-2.0/gio/gtlsdatabase.h +17 -3
  181. data/vendor/local/include/glib-2.0/gio/gtlsfiledatabase.h +5 -3
  182. data/vendor/local/include/glib-2.0/gio/gtlsinteraction.h +8 -3
  183. data/vendor/local/include/glib-2.0/gio/gtlspassword.h +14 -3
  184. data/vendor/local/include/glib-2.0/gio/gtlsserverconnection.h +5 -3
  185. data/vendor/local/include/glib-2.0/gio/gvfs.h +11 -3
  186. data/vendor/local/include/glib-2.0/gio/gvolume.h +20 -3
  187. data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +10 -3
  188. data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +7 -3
  189. data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +6 -3
  190. data/vendor/local/include/glib-2.0/glib-unix.h +33 -0
  191. data/vendor/local/include/glib-2.0/glib.h +2 -0
  192. data/vendor/local/include/glib-2.0/glib/deprecated/gallocator.h +3 -3
  193. data/vendor/local/include/glib-2.0/glib/deprecated/gcache.h +3 -3
  194. data/vendor/local/include/glib-2.0/glib/deprecated/gcompletion.h +3 -3
  195. data/vendor/local/include/glib-2.0/glib/deprecated/gmain.h +3 -3
  196. data/vendor/local/include/glib-2.0/glib/deprecated/grel.h +3 -3
  197. data/vendor/local/include/glib-2.0/glib/deprecated/gthread.h +5 -4
  198. data/vendor/local/include/glib-2.0/glib/galloca.h +3 -3
  199. data/vendor/local/include/glib-2.0/glib/garray.h +52 -3
  200. data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +23 -3
  201. data/vendor/local/include/glib-2.0/glib/gatomic.h +17 -5
  202. data/vendor/local/include/glib-2.0/glib/gbacktrace.h +5 -3
  203. data/vendor/local/include/glib-2.0/glib/gbase64.h +9 -3
  204. data/vendor/local/include/glib-2.0/glib/gbitlock.h +6 -0
  205. data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +43 -3
  206. data/vendor/local/include/glib-2.0/glib/gbytes.h +17 -3
  207. data/vendor/local/include/glib-2.0/glib/gcharset.h +7 -3
  208. data/vendor/local/include/glib-2.0/glib/gchecksum.h +16 -4
  209. data/vendor/local/include/glib-2.0/glib/gconvert.h +48 -12
  210. data/vendor/local/include/glib-2.0/glib/gdataset.h +18 -3
  211. data/vendor/local/include/glib-2.0/glib/gdate.h +50 -3
  212. data/vendor/local/include/glib-2.0/glib/gdatetime.h +50 -3
  213. data/vendor/local/include/glib-2.0/glib/gdir.h +19 -11
  214. data/vendor/local/include/glib-2.0/glib/genviron.h +26 -11
  215. data/vendor/local/include/glib-2.0/glib/gerror.h +16 -4
  216. data/vendor/local/include/glib-2.0/glib/gfileutils.h +47 -18
  217. data/vendor/local/include/glib-2.0/glib/ggettext.h +9 -3
  218. data/vendor/local/include/glib-2.0/glib/ghash.h +40 -3
  219. data/vendor/local/include/glib-2.0/glib/ghmac.h +3 -3
  220. data/vendor/local/include/glib-2.0/glib/ghook.h +26 -3
  221. data/vendor/local/include/glib-2.0/glib/ghostutils.h +8 -3
  222. data/vendor/local/include/glib-2.0/glib/giochannel.h +61 -20
  223. data/vendor/local/include/glib-2.0/glib/gkeyfile.h +50 -3
  224. data/vendor/local/include/glib-2.0/glib/glist.h +33 -3
  225. data/vendor/local/include/glib-2.0/glib/gmacros.h +15 -11
  226. data/vendor/local/include/glib-2.0/glib/gmain.h +124 -6
  227. data/vendor/local/include/glib-2.0/glib/gmappedfile.h +9 -3
  228. data/vendor/local/include/glib-2.0/glib/gmarkup.h +23 -4
  229. data/vendor/local/include/glib-2.0/glib/gmem.h +19 -3
  230. data/vendor/local/include/glib-2.0/glib/gmessages.h +21 -6
  231. data/vendor/local/include/glib-2.0/glib/gnode.h +29 -3
  232. data/vendor/local/include/glib-2.0/glib/goption.h +29 -3
  233. data/vendor/local/include/glib-2.0/glib/gpattern.h +9 -3
  234. data/vendor/local/include/glib-2.0/glib/gpoll.h +4 -3
  235. data/vendor/local/include/glib-2.0/glib/gprimes.h +4 -3
  236. data/vendor/local/include/glib-2.0/glib/gprintf.h +11 -4
  237. data/vendor/local/include/glib-2.0/glib/gqsort.h +4 -3
  238. data/vendor/local/include/glib-2.0/glib/gquark.h +9 -3
  239. data/vendor/local/include/glib-2.0/glib/gqueue.h +43 -3
  240. data/vendor/local/include/glib-2.0/glib/grand.h +19 -3
  241. data/vendor/local/include/glib-2.0/glib/gregex.h +43 -3
  242. data/vendor/local/include/glib-2.0/glib/gscanner.h +24 -3
  243. data/vendor/local/include/glib-2.0/glib/gsequence.h +40 -3
  244. data/vendor/local/include/glib-2.0/glib/gshell.h +7 -3
  245. data/vendor/local/include/glib-2.0/glib/gslice.h +13 -3
  246. data/vendor/local/include/glib-2.0/glib/gslist.h +31 -3
  247. data/vendor/local/include/glib-2.0/glib/gspawn.h +62 -13
  248. data/vendor/local/include/glib-2.0/glib/gstdio.h +23 -0
  249. data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +50 -4
  250. data/vendor/local/include/glib-2.0/glib/gstring.h +38 -5
  251. data/vendor/local/include/glib-2.0/glib/gstringchunk.h +9 -3
  252. data/vendor/local/include/glib-2.0/glib/gtestutils.h +49 -3
  253. data/vendor/local/include/glib-2.0/glib/gthread.h +22 -3
  254. data/vendor/local/include/glib-2.0/glib/gthreadpool.h +17 -3
  255. data/vendor/local/include/glib-2.0/glib/gtimer.h +14 -3
  256. data/vendor/local/include/glib-2.0/glib/gtimezone.h +13 -3
  257. data/vendor/local/include/glib-2.0/glib/gtrashstack.h +3 -3
  258. data/vendor/local/include/glib-2.0/glib/gtree.h +19 -3
  259. data/vendor/local/include/glib-2.0/glib/gtypes.h +6 -6
  260. data/vendor/local/include/glib-2.0/glib/gunicode.h +70 -9
  261. data/vendor/local/include/glib-2.0/glib/gurifuncs.h +7 -3
  262. data/vendor/local/include/glib-2.0/glib/gutils.h +33 -23
  263. data/vendor/local/include/glib-2.0/glib/gvariant.h +112 -3
  264. data/vendor/local/include/glib-2.0/glib/gvarianttype.h +33 -3
  265. data/vendor/local/include/glib-2.0/glib/gversion.h +4 -3
  266. data/vendor/local/include/glib-2.0/glib/gversionmacros.h +43 -18
  267. data/vendor/local/include/glib-2.0/glib/gwin32.h +28 -13
  268. data/vendor/local/include/glib-2.0/gmodule.h +21 -7
  269. data/vendor/local/include/glib-2.0/gobject/gbinding.h +13 -3
  270. data/vendor/local/include/glib-2.0/gobject/gboxed.h +13 -3
  271. data/vendor/local/include/glib-2.0/gobject/gclosure.h +21 -3
  272. data/vendor/local/include/glib-2.0/gobject/genums.h +17 -3
  273. data/vendor/local/include/glib-2.0/gobject/glib-types.h +64 -3
  274. data/vendor/local/include/glib-2.0/gobject/gmarshal.h +330 -286
  275. data/vendor/local/include/glib-2.0/gobject/gobject.h +73 -13
  276. data/vendor/local/include/glib-2.0/gobject/gparam.h +32 -3
  277. data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +27 -4
  278. data/vendor/local/include/glib-2.0/gobject/gsignal.h +41 -3
  279. data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +5 -3
  280. data/vendor/local/include/glib-2.0/gobject/gtype.h +73 -10
  281. data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +11 -3
  282. data/vendor/local/include/glib-2.0/gobject/gtypeplugin.h +8 -3
  283. data/vendor/local/include/glib-2.0/gobject/gvalue.h +14 -3
  284. data/vendor/local/include/glib-2.0/gobject/gvaluearray.h +14 -14
  285. data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +41 -3
  286. data/vendor/local/include/gnutls/abstract.h +15 -6
  287. data/vendor/local/include/gnutls/compat.h +1 -1
  288. data/vendor/local/include/gnutls/crypto.h +3 -1
  289. data/vendor/local/include/gnutls/dtls.h +1 -1
  290. data/vendor/local/include/gnutls/gnutls.h +49 -7
  291. data/vendor/local/include/gnutls/gnutlsxx.h +1 -1
  292. data/vendor/local/include/gnutls/openpgp.h +4 -1
  293. data/vendor/local/include/gnutls/pkcs11.h +5 -2
  294. data/vendor/local/include/gnutls/pkcs12.h +1 -1
  295. data/vendor/local/include/gnutls/tpm.h +5 -3
  296. data/vendor/local/include/gnutls/x509.h +25 -3
  297. data/vendor/local/include/gnutls/xssl.h +121 -0
  298. data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
  299. data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
  300. data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
  301. data/vendor/local/lib/gio/modules/libgiognutls.la +1 -1
  302. data/vendor/local/lib/glib-2.0/include/glibconfig.h +2 -2
  303. data/vendor/local/lib/libgio-2.0.dll.a +0 -0
  304. data/vendor/local/lib/libgio-2.0.la +4 -4
  305. data/vendor/local/lib/libglib-2.0.dll.a +0 -0
  306. data/vendor/local/lib/libglib-2.0.la +3 -3
  307. data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
  308. data/vendor/local/lib/libgmodule-2.0.la +3 -3
  309. data/vendor/local/lib/libgmp.dll.a +0 -0
  310. data/vendor/local/lib/libgnutls-openssl.a +0 -0
  311. data/vendor/local/lib/libgnutls-openssl.dll.a +0 -0
  312. data/vendor/local/lib/libgnutls-openssl.la +1 -1
  313. data/vendor/local/lib/libgnutls-xssl.a +0 -0
  314. data/vendor/local/lib/libgnutls-xssl.dll.a +0 -0
  315. data/vendor/local/lib/libgnutls-xssl.la +41 -0
  316. data/vendor/local/lib/libgnutls.a +0 -0
  317. data/vendor/local/lib/libgnutls.dll.a +0 -0
  318. data/vendor/local/lib/libgnutls.la +3 -3
  319. data/vendor/local/lib/libgnutlsxx.a +0 -0
  320. data/vendor/local/lib/libgnutlsxx.dll.a +0 -0
  321. data/vendor/local/lib/libgnutlsxx.la +1 -1
  322. data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
  323. data/vendor/local/lib/libgobject-2.0.la +4 -4
  324. data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
  325. data/vendor/local/lib/libgthread-2.0.la +3 -3
  326. data/vendor/local/lib/libhogweed.a +0 -0
  327. data/vendor/local/lib/libhogweed.dll.a +0 -0
  328. data/vendor/local/lib/libnettle.a +0 -0
  329. data/vendor/local/lib/libnettle.dll.a +0 -0
  330. data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
  331. data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
  332. data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
  333. data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
  334. data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
  335. data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
  336. data/vendor/local/lib/pkgconfig/gnutls.pc +3 -3
  337. data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
  338. data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
  339. data/vendor/local/share/gdb/auto-load/{libglib-2.0.so.0.3400.3-gdb.py → libglib-2.0.so.0.3600.0-gdb.py} +0 -0
  340. data/vendor/local/share/gdb/auto-load/{libgobject-2.0.so.0.3400.3-gdb.py → libgobject-2.0.so.0.3600.0-gdb.py} +0 -0
  341. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/__init__.py +0 -0
  342. data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
  343. data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
  344. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/codegen.py +2 -1
  345. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/codegen.pyc +0 -0
  346. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/codegen.pyo +0 -0
  347. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/codegen_docbook.py +31 -23
  348. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
  349. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
  350. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/codegen_main.py +2 -0
  351. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/codegen_main.pyc +0 -0
  352. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/codegen_main.pyo +0 -0
  353. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/config.py +1 -1
  354. data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
  355. data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
  356. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/dbustypes.py +0 -0
  357. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/dbustypes.pyc +0 -0
  358. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/dbustypes.pyo +0 -0
  359. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/parser.py +0 -0
  360. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/parser.pyc +0 -0
  361. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/parser.pyo +0 -0
  362. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/utils.py +0 -0
  363. data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
  364. data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
  365. data/vendor/local/share/glib-2.0/gdb/glib.py +0 -4
  366. data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +5 -17
  367. data/vendor/local/share/glib-2.0/schemas/gschema.dtd +4 -4
  368. data/vendor/local/share/glib-2.0/schemas/gschemas.compiled +0 -0
  369. data/vendor/local/share/gtk-doc/html/gio/ExampleAnimal.html +129 -129
  370. data/vendor/local/share/gtk-doc/html/gio/ExampleCat.html +57 -57
  371. data/vendor/local/share/gtk-doc/html/gio/ExampleObject.html +18 -18
  372. data/vendor/local/share/gtk-doc/html/gio/ExampleObjectManagerClient.html +57 -57
  373. data/vendor/local/share/gtk-doc/html/gio/GAction.html +53 -53
  374. data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +107 -107
  375. data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +50 -49
  376. data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +149 -123
  377. data/vendor/local/share/gtk-doc/html/gio/GApplication.html +371 -354
  378. data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +130 -48
  379. data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +135 -151
  380. data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +72 -60
  381. data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +54 -54
  382. data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +22 -22
  383. data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +77 -75
  384. data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +25 -25
  385. data/vendor/local/share/gtk-doc/html/gio/GConverter.html +15 -15
  386. data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +67 -28
  387. data/vendor/local/share/gtk-doc/html/gio/GDBusActionGroup.html +7 -7
  388. data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +42 -42
  389. data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +1814 -1830
  390. data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +8 -8
  391. data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +38 -38
  392. data/vendor/local/share/gtk-doc/html/gio/GDBusMenuModel.html +8 -8
  393. data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +149 -149
  394. data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +61 -61
  395. data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +18 -18
  396. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +28 -28
  397. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +143 -141
  398. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerServer.html +21 -21
  399. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectProxy.html +8 -8
  400. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectSkeleton.html +18 -18
  401. data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +443 -447
  402. data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +239 -243
  403. data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +155 -155
  404. data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +81 -80
  405. data/vendor/local/share/gtk-doc/html/gio/GDrive.html +124 -124
  406. data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +5 -5
  407. data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +9 -9
  408. data/vendor/local/share/gtk-doc/html/gio/GFile.html +791 -720
  409. data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +3 -3
  410. data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +110 -53
  411. data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +17 -17
  412. data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +5 -5
  413. data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +152 -124
  414. data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +17 -17
  415. data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +19 -19
  416. data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +17 -17
  417. data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +12 -12
  418. data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +11 -11
  419. data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +11 -11
  420. data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +24 -24
  421. data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +42 -42
  422. data/vendor/local/share/gtk-doc/html/gio/GIcon.html +24 -24
  423. data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +69 -69
  424. data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +18 -18
  425. data/vendor/local/share/gtk-doc/html/gio/GInitable.html +65 -62
  426. data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +133 -127
  427. data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +16 -16
  428. data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +72 -13
  429. data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +89 -45
  430. data/vendor/local/share/gtk-doc/html/gio/GMenu.html +167 -167
  431. data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +129 -91
  432. data/vendor/local/share/gtk-doc/html/gio/GMount.html +121 -121
  433. data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +50 -49
  434. data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +39 -39
  435. data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +33 -33
  436. data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +28 -28
  437. data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +128 -128
  438. data/vendor/local/share/gtk-doc/html/gio/GPermission.html +63 -63
  439. data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +30 -30
  440. data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +30 -30
  441. data/vendor/local/share/gtk-doc/html/gio/GProxy.html +19 -19
  442. data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +51 -51
  443. data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +37 -29
  444. data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +21 -21
  445. data/vendor/local/share/gtk-doc/html/gio/GResolver.html +125 -125
  446. data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +39 -39
  447. data/vendor/local/share/gtk-doc/html/gio/GSettings.html +430 -430
  448. data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +56 -56
  449. data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +53 -51
  450. data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +13 -13
  451. data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +222 -214
  452. data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +6 -6
  453. data/vendor/local/share/gtk-doc/html/gio/GSimpleProxyResolver.html +323 -0
  454. data/vendor/local/share/gtk-doc/html/gio/GSocket.html +501 -363
  455. data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +20 -20
  456. data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +189 -109
  457. data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +78 -68
  458. data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +44 -44
  459. data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +13 -13
  460. data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +84 -84
  461. data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +11 -11
  462. data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +23 -23
  463. data/vendor/local/share/gtk-doc/html/gio/GTask.html +2296 -0
  464. data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +10 -10
  465. data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +3 -3
  466. data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +323 -13
  467. data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +37 -34
  468. data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +10 -10
  469. data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +23 -23
  470. data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +52 -52
  471. data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +24 -24
  472. data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +56 -56
  473. data/vendor/local/share/gtk-doc/html/gio/GTlsDatabase.html +73 -73
  474. data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +11 -11
  475. data/vendor/local/share/gtk-doc/html/gio/GTlsInteraction.html +13 -13
  476. data/vendor/local/share/gtk-doc/html/gio/GTlsPassword.html +33 -33
  477. data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +7 -7
  478. data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +47 -47
  479. data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +6 -6
  480. data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +38 -38
  481. data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +19 -19
  482. data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +21 -21
  483. data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +21 -21
  484. data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +27 -27
  485. data/vendor/local/share/gtk-doc/html/gio/GVfs.html +12 -12
  486. data/vendor/local/share/gtk-doc/html/gio/GVolume.html +85 -85
  487. data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +49 -49
  488. data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +8 -8
  489. data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +6 -6
  490. data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +8 -5
  491. data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +2 -2
  492. data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +2 -2
  493. data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +2 -2
  494. data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +2 -2
  495. data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +6 -2
  496. data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +2 -2
  497. data/vendor/local/share/gtk-doc/html/gio/api-index-2-30.html +2 -2
  498. data/vendor/local/share/gtk-doc/html/gio/api-index-2-32.html +34 -2
  499. data/vendor/local/share/gtk-doc/html/gio/api-index-2-34.html +20 -4
  500. data/vendor/local/share/gtk-doc/html/gio/api-index-2-36.html +256 -0
  501. data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +21 -2
  502. data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +258 -2
  503. data/vendor/local/share/gtk-doc/html/gio/application.html +2 -2
  504. data/vendor/local/share/gtk-doc/html/gio/async.html +5 -2
  505. data/vendor/local/share/gtk-doc/html/gio/ch01.html +3 -3
  506. data/vendor/local/share/gtk-doc/html/gio/ch02.html +5 -5
  507. data/vendor/local/share/gtk-doc/html/gio/ch03.html +5 -5
  508. data/vendor/local/share/gtk-doc/html/gio/ch29.html +3 -3
  509. data/vendor/local/share/gtk-doc/html/gio/ch30.html +35 -35
  510. data/vendor/local/share/gtk-doc/html/gio/ch30s02.html +4 -4
  511. data/vendor/local/share/gtk-doc/html/gio/ch30s03.html +5 -5
  512. data/vendor/local/share/gtk-doc/html/gio/ch31.html +6 -7
  513. data/vendor/local/share/gtk-doc/html/gio/ch31s02.html +5 -5
  514. data/vendor/local/share/gtk-doc/html/gio/ch31s03.html +25 -25
  515. data/vendor/local/share/gtk-doc/html/gio/ch31s04.html +5 -5
  516. data/vendor/local/share/gtk-doc/html/gio/ch31s05.html +4 -4
  517. data/vendor/local/share/gtk-doc/html/gio/ch31s06.html +6 -6
  518. data/vendor/local/share/gtk-doc/html/gio/ch31s07.html +3 -3
  519. data/vendor/local/share/gtk-doc/html/gio/ch32.html +9 -6
  520. data/vendor/local/share/gtk-doc/html/gio/ch32s02.html +5 -5
  521. data/vendor/local/share/gtk-doc/html/gio/ch32s03.html +63 -63
  522. data/vendor/local/share/gtk-doc/html/gio/ch32s04.html +16 -16
  523. data/vendor/local/share/gtk-doc/html/gio/ch32s05.html +400 -408
  524. data/vendor/local/share/gtk-doc/html/gio/conversion.html +2 -2
  525. data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +2 -2
  526. data/vendor/local/share/gtk-doc/html/gio/extending.html +2 -2
  527. data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +2 -2
  528. data/vendor/local/share/gtk-doc/html/gio/file_mon.html +2 -2
  529. data/vendor/local/share/gtk-doc/html/gio/file_ops.html +2 -2
  530. data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +246 -246
  531. data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +2 -2
  532. data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +2 -2
  533. data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html +4 -4
  534. data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Cat.html +2 -2
  535. data/vendor/local/share/gtk-doc/html/gio/gdbus.html +11 -11
  536. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +41 -41
  537. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +81 -81
  538. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +68 -68
  539. data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +160 -51
  540. data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +38 -38
  541. data/vendor/local/share/gtk-doc/html/gio/gio-GActionGroup-exporter.html +11 -11
  542. data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +62 -62
  543. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +3 -3
  544. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +3 -3
  545. data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +120 -120
  546. data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +11 -11
  547. data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +16 -10
  548. data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +66 -49
  549. data/vendor/local/share/gtk-doc/html/gio/gio-GInetAddressMask.html +22 -22
  550. data/vendor/local/share/gtk-doc/html/gio/gio-GMenuModel-exporter.html +12 -12
  551. data/vendor/local/share/gtk-doc/html/gio/gio-GResource.html +175 -88
  552. data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +72 -72
  553. data/vendor/local/share/gtk-doc/html/gio/gio-GWin32InputStream.html +12 -12
  554. data/vendor/local/share/gtk-doc/html/gio/gio-GWin32OutputStream.html +12 -12
  555. data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +145 -149
  556. data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +4 -4
  557. data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +57 -57
  558. data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +143 -141
  559. data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +91 -0
  560. data/vendor/local/share/gtk-doc/html/gio/gio-gpollableutils.html +69 -69
  561. data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +6 -4
  562. data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +3 -3
  563. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +92 -16
  564. data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +17 -5
  565. data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +4 -4
  566. data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +4 -4
  567. data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +7 -7
  568. data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +4 -4
  569. data/vendor/local/share/gtk-doc/html/gio/icons.html +2 -2
  570. data/vendor/local/share/gtk-doc/html/gio/index.html +16 -6
  571. data/vendor/local/share/gtk-doc/html/gio/index.sgml +91 -0
  572. data/vendor/local/share/gtk-doc/html/gio/migrating.html +5 -5
  573. data/vendor/local/share/gtk-doc/html/gio/networking.html +5 -2
  574. data/vendor/local/share/gtk-doc/html/gio/permissions.html +2 -2
  575. data/vendor/local/share/gtk-doc/html/gio/pt01.html +3 -3
  576. data/vendor/local/share/gtk-doc/html/gio/pt02.html +12 -3
  577. data/vendor/local/share/gtk-doc/html/gio/resolver.html +5 -2
  578. data/vendor/local/share/gtk-doc/html/gio/resources.html +2 -2
  579. data/vendor/local/share/gtk-doc/html/gio/running-gio-apps.html +10 -2
  580. data/vendor/local/share/gtk-doc/html/gio/settings.html +2 -2
  581. data/vendor/local/share/gtk-doc/html/gio/streaming.html +2 -2
  582. data/vendor/local/share/gtk-doc/html/gio/testing.html +2 -2
  583. data/vendor/local/share/gtk-doc/html/gio/tls.html +2 -2
  584. data/vendor/local/share/gtk-doc/html/gio/tools.html +2 -2
  585. data/vendor/local/share/gtk-doc/html/gio/types.html +2 -2
  586. data/vendor/local/share/gtk-doc/html/gio/utils.html +2 -2
  587. data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +2 -2
  588. data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +8 -5
  589. data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +2 -2
  590. data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +2 -2
  591. data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +2 -2
  592. data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +2 -2
  593. data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +2 -2
  594. data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +2 -2
  595. data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +2 -2
  596. data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +2 -2
  597. data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +2 -2
  598. data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +2 -2
  599. data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +2 -2
  600. data/vendor/local/share/gtk-doc/html/glib/api-index-2-30.html +2 -2
  601. data/vendor/local/share/gtk-doc/html/glib/api-index-2-32.html +2 -2
  602. data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +8 -4
  603. data/vendor/local/share/gtk-doc/html/glib/api-index-2-36.html +114 -0
  604. data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +2 -2
  605. data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +2 -2
  606. data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +2 -2
  607. data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +2 -2
  608. data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +79 -3
  609. data/vendor/local/share/gtk-doc/html/glib/deprecated.html +2 -2
  610. data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +20 -20
  611. data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +7 -7
  612. data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +6 -6
  613. data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +2 -2
  614. data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +2 -2
  615. data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +5 -3
  616. data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +9 -9
  617. data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +25 -25
  618. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +22 -22
  619. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +4 -4
  620. data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +2 -2
  621. data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +3 -3
  622. data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +32 -32
  623. data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +15 -6
  624. data/vendor/local/share/gtk-doc/html/glib/glib-Data-HMACs.html +2 -2
  625. data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +2 -2
  626. data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +9 -9
  627. data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +62 -66
  628. data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +3 -3
  629. data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +19 -19
  630. data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +39 -39
  631. data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +104 -104
  632. data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +53 -18
  633. data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +2 -2
  634. data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +46 -11
  635. data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +142 -66
  636. data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +9 -9
  637. data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +2 -2
  638. data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +16 -57
  639. data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +2 -2
  640. data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +2 -2
  641. data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +31 -31
  642. data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +19 -10
  643. data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +20 -20
  644. data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +5 -5
  645. data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +2 -2
  646. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +2 -2
  647. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +33 -33
  648. data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +12 -12
  649. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +32 -32
  650. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +33 -40
  651. data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +2 -2
  652. data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +2 -2
  653. data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +72 -72
  654. data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +13 -13
  655. data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +2 -2
  656. data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +2 -2
  657. data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +2 -2
  658. data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +5 -4
  659. data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +2 -2
  660. data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +119 -69
  661. data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +16 -16
  662. data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +4 -4
  663. data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +2 -2
  664. data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +2 -2
  665. data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +11 -14
  666. data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +2 -2
  667. data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +48 -27
  668. data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +375 -147
  669. data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +2 -2
  670. data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +173 -147
  671. data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +2 -2
  672. data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +2 -2
  673. data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +12 -12
  674. data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +241 -26
  675. data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +3 -3
  676. data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +17 -13
  677. data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +33 -9
  678. data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +23 -23
  679. data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +2 -2
  680. data/vendor/local/share/gtk-doc/html/glib/glib-building.html +8 -3
  681. data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +4 -4
  682. data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +3 -3
  683. data/vendor/local/share/gtk-doc/html/glib/glib-core.html +2 -2
  684. data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +3 -3
  685. data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +2 -2
  686. data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +2 -2
  687. data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +5 -5
  688. data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +5 -5
  689. data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +47 -47
  690. data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +5 -5
  691. data/vendor/local/share/gtk-doc/html/glib/glib-running.html +8 -8
  692. data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +2 -2
  693. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +50 -27
  694. data/vendor/local/share/gtk-doc/html/glib/glib.html +2 -2
  695. data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +5 -5
  696. data/vendor/local/share/gtk-doc/html/glib/gtester.html +5 -5
  697. data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +155 -155
  698. data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +11 -11
  699. data/vendor/local/share/gtk-doc/html/glib/index.html +4 -3
  700. data/vendor/local/share/gtk-doc/html/glib/index.sgml +24 -1
  701. data/vendor/local/share/gtk-doc/html/glib/tools.html +2 -2
  702. data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +72 -72
  703. data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +63 -63
  704. data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +6 -6
  705. data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +8 -5
  706. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +2 -2
  707. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +2 -2
  708. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +2 -2
  709. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +2 -2
  710. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +2 -2
  711. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +2 -2
  712. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +2 -2
  713. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +2 -2
  714. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +2 -2
  715. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-30.html +2 -2
  716. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-32.html +2 -2
  717. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-34.html +4 -4
  718. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-36.html +50 -0
  719. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +2 -2
  720. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +2 -2
  721. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +2 -2
  722. data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +14 -2
  723. data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +18 -2
  724. data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +6 -6
  725. data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +2 -2
  726. data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +6 -6
  727. data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +4 -4
  728. data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +10 -10
  729. data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +8 -8
  730. data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +7 -7
  731. data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +83 -50
  732. data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +344 -344
  733. data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +50 -50
  734. data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +81 -81
  735. data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +68 -72
  736. data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +259 -285
  737. data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +463 -443
  738. data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +356 -355
  739. data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +371 -427
  740. data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +41 -41
  741. data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +7 -36
  742. data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +2 -2
  743. data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +96 -96
  744. data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +5 -5
  745. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +15 -10
  746. data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +5 -5
  747. data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +2 -2
  748. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +2 -2
  749. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +2 -2
  750. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +4 -4
  751. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +2 -2
  752. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +24 -24
  753. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +2 -2
  754. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +5 -5
  755. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +5 -5
  756. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +4 -4
  757. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-override.html +2 -2
  758. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-prerequisite.html +3 -3
  759. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +4 -4
  760. data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +6 -6
  761. data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +4 -4
  762. data/vendor/local/share/gtk-doc/html/gobject/index.html +12 -11
  763. data/vendor/local/share/gtk-doc/html/gobject/index.sgml +5 -0
  764. data/vendor/local/share/gtk-doc/html/gobject/pr01.html +3 -3
  765. data/vendor/local/share/gtk-doc/html/gobject/pt01.html +6 -6
  766. data/vendor/local/share/gtk-doc/html/gobject/pt02.html +8 -8
  767. data/vendor/local/share/gtk-doc/html/gobject/pt03.html +3 -3
  768. data/vendor/local/share/gtk-doc/html/gobject/rn01.html +3 -3
  769. data/vendor/local/share/gtk-doc/html/gobject/rn02.html +3 -3
  770. data/vendor/local/share/gtk-doc/html/gobject/signal.html +9 -9
  771. data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +2 -2
  772. data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +2 -2
  773. data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +2 -2
  774. data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +2 -2
  775. data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +2 -2
  776. data/vendor/local/share/info/gnutls-guile.info +15 -15
  777. data/vendor/local/share/info/gnutls.info +1274 -1229
  778. data/vendor/local/share/info/gnutls.info-1 +2153 -2008
  779. data/vendor/local/share/info/gnutls.info-2 +991 -314
  780. data/vendor/local/share/info/gnutls.info-3 +358 -232
  781. data/vendor/local/share/info/gnutls.info-4 +928 -671
  782. data/vendor/local/share/locale/an/LC_MESSAGES/glib-networking.mo +0 -0
  783. data/vendor/local/share/locale/as/LC_MESSAGES/glib-networking.mo +0 -0
  784. data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
  785. data/vendor/local/share/locale/be/LC_MESSAGES/glib-networking.mo +0 -0
  786. data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
  787. data/vendor/local/share/locale/bg/LC_MESSAGES/glib-networking.mo +0 -0
  788. data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
  789. data/vendor/local/share/locale/ca/LC_MESSAGES/glib-networking.mo +0 -0
  790. data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
  791. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib-networking.mo +0 -0
  792. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
  793. data/vendor/local/share/locale/cs/LC_MESSAGES/glib-networking.mo +0 -0
  794. data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
  795. data/vendor/local/share/locale/cs/LC_MESSAGES/gnutls.mo +0 -0
  796. data/vendor/local/share/locale/da/LC_MESSAGES/glib-networking.mo +0 -0
  797. data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
  798. data/vendor/local/share/locale/de/LC_MESSAGES/glib-networking.mo +0 -0
  799. data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
  800. data/vendor/local/share/locale/de/LC_MESSAGES/gnutls.mo +0 -0
  801. data/vendor/local/share/locale/el/LC_MESSAGES/glib-networking.mo +0 -0
  802. data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
  803. data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gnutls.mo +0 -0
  804. data/vendor/local/share/locale/en@quot/LC_MESSAGES/gnutls.mo +0 -0
  805. data/vendor/local/share/locale/es/LC_MESSAGES/glib-networking.mo +0 -0
  806. data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
  807. data/vendor/local/share/locale/et/LC_MESSAGES/glib-networking.mo +0 -0
  808. data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
  809. data/vendor/local/share/locale/eu/LC_MESSAGES/glib-networking.mo +0 -0
  810. data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
  811. data/vendor/local/share/locale/fa/LC_MESSAGES/glib-networking.mo +0 -0
  812. data/vendor/local/share/locale/fi/LC_MESSAGES/glib-networking.mo +0 -0
  813. data/vendor/local/share/locale/fi/LC_MESSAGES/gnutls.mo +0 -0
  814. data/vendor/local/share/locale/fr/LC_MESSAGES/glib-networking.mo +0 -0
  815. data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
  816. data/vendor/local/share/locale/fr/LC_MESSAGES/gnutls.mo +0 -0
  817. data/vendor/local/share/locale/gl/LC_MESSAGES/glib-networking.mo +0 -0
  818. data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
  819. data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
  820. data/vendor/local/share/locale/he/LC_MESSAGES/glib-networking.mo +0 -0
  821. data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
  822. data/vendor/local/share/locale/hi/LC_MESSAGES/glib-networking.mo +0 -0
  823. data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
  824. data/vendor/local/share/locale/hu/LC_MESSAGES/glib-networking.mo +0 -0
  825. data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
  826. data/vendor/local/share/locale/it/LC_MESSAGES/glib-networking.mo +0 -0
  827. data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
  828. data/vendor/local/share/locale/it/LC_MESSAGES/gnutls.mo +0 -0
  829. data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
  830. data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
  831. data/vendor/local/share/locale/ko/LC_MESSAGES/glib-networking.mo +0 -0
  832. data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
  833. data/vendor/local/share/locale/lt/LC_MESSAGES/glib-networking.mo +0 -0
  834. data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
  835. data/vendor/local/share/locale/lv/LC_MESSAGES/glib-networking.mo +0 -0
  836. data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
  837. data/vendor/local/share/locale/ml/LC_MESSAGES/glib-networking.mo +0 -0
  838. data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
  839. data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
  840. data/vendor/local/share/locale/ms/LC_MESSAGES/gnutls.mo +0 -0
  841. data/vendor/local/share/locale/nb/LC_MESSAGES/glib-networking.mo +0 -0
  842. data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
  843. data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
  844. data/vendor/local/share/locale/nl/LC_MESSAGES/gnutls.mo +0 -0
  845. data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
  846. data/vendor/local/share/locale/pa/LC_MESSAGES/glib-networking.mo +0 -0
  847. data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
  848. data/vendor/local/share/locale/pl/LC_MESSAGES/glib-networking.mo +0 -0
  849. data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
  850. data/vendor/local/share/locale/pl/LC_MESSAGES/gnutls.mo +0 -0
  851. data/vendor/local/share/locale/pt/LC_MESSAGES/glib-networking.mo +0 -0
  852. data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
  853. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib-networking.mo +0 -0
  854. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
  855. data/vendor/local/share/locale/ru/LC_MESSAGES/glib-networking.mo +0 -0
  856. data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
  857. data/vendor/local/share/locale/sk/LC_MESSAGES/glib-networking.mo +0 -0
  858. data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
  859. data/vendor/local/share/locale/sl/LC_MESSAGES/glib-networking.mo +0 -0
  860. data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
  861. data/vendor/local/share/locale/sr/LC_MESSAGES/glib-networking.mo +0 -0
  862. data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
  863. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib-networking.mo +0 -0
  864. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
  865. data/vendor/local/share/locale/sv/LC_MESSAGES/gnutls.mo +0 -0
  866. data/vendor/local/share/locale/ta/LC_MESSAGES/glib20.mo +0 -0
  867. data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
  868. data/vendor/local/share/locale/tg/LC_MESSAGES/glib-networking.mo +0 -0
  869. data/vendor/local/share/locale/tg/LC_MESSAGES/glib20.mo +0 -0
  870. data/vendor/local/share/locale/th/LC_MESSAGES/glib-networking.mo +0 -0
  871. data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
  872. data/vendor/local/share/locale/ug/LC_MESSAGES/glib-networking.mo +0 -0
  873. data/vendor/local/share/locale/ug/LC_MESSAGES/glib20.mo +0 -0
  874. data/vendor/local/share/locale/uk/LC_MESSAGES/gnutls.mo +0 -0
  875. data/vendor/local/share/locale/vi/LC_MESSAGES/glib-networking.mo +0 -0
  876. data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
  877. data/vendor/local/share/locale/vi/LC_MESSAGES/gnutls.mo +0 -0
  878. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
  879. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gnutls.mo +0 -0
  880. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib-networking.mo +0 -0
  881. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
  882. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib-networking.mo +0 -0
  883. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
  884. data/vendor/local/share/man/man1/certtool.1 +27 -4
  885. data/vendor/local/share/man/man1/gdbus-codegen.1 +1 -1
  886. data/vendor/local/share/man/man1/gdbus.1 +1 -1
  887. data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
  888. data/vendor/local/share/man/man1/glib-compile-resources.1 +13 -1
  889. data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
  890. data/vendor/local/share/man/man1/glib-genmarshal.1 +1 -1
  891. data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
  892. data/vendor/local/share/man/man1/glib-mkenums.1 +1 -1
  893. data/vendor/local/share/man/man1/gnutls-cli-debug.1 +2 -2
  894. data/vendor/local/share/man/man1/gnutls-cli.1 +11 -2
  895. data/vendor/local/share/man/man1/gnutls-serv.1 +2 -2
  896. data/vendor/local/share/man/man1/gobject-query.1 +1 -1
  897. data/vendor/local/share/man/man1/gresource.1 +1 -1
  898. data/vendor/local/share/man/man1/gsettings.1 +1 -1
  899. data/vendor/local/share/man/man1/gtester-report.1 +1 -1
  900. data/vendor/local/share/man/man1/gtester.1 +1 -1
  901. data/vendor/local/share/man/man1/ocsptool.1 +2 -2
  902. data/vendor/local/share/man/man1/p11tool.1 +23 -2
  903. data/vendor/local/share/man/man1/psktool.1 +2 -2
  904. data/vendor/local/share/man/man1/srptool.1 +2 -2
  905. data/vendor/local/share/man/man1/tpmtool.1 +2 -2
  906. data/vendor/local/share/man/man3/gnutls_alert_get.3 +1 -1
  907. data/vendor/local/share/man/man3/gnutls_alert_get_name.3 +1 -1
  908. data/vendor/local/share/man/man3/gnutls_alert_get_strname.3 +1 -1
  909. data/vendor/local/share/man/man3/gnutls_alert_send.3 +1 -1
  910. data/vendor/local/share/man/man3/gnutls_alert_send_appropriate.3 +1 -1
  911. data/vendor/local/share/man/man3/gnutls_anon_allocate_client_credentials.3 +1 -1
  912. data/vendor/local/share/man/man3/gnutls_anon_allocate_server_credentials.3 +1 -1
  913. data/vendor/local/share/man/man3/gnutls_anon_free_client_credentials.3 +1 -1
  914. data/vendor/local/share/man/man3/gnutls_anon_free_server_credentials.3 +1 -1
  915. data/vendor/local/share/man/man3/gnutls_anon_set_params_function.3 +1 -1
  916. data/vendor/local/share/man/man3/gnutls_anon_set_server_dh_params.3 +1 -1
  917. data/vendor/local/share/man/man3/gnutls_anon_set_server_params_function.3 +1 -1
  918. data/vendor/local/share/man/man3/gnutls_auth_client_get_type.3 +1 -1
  919. data/vendor/local/share/man/man3/gnutls_auth_get_type.3 +1 -1
  920. data/vendor/local/share/man/man3/gnutls_auth_server_get_type.3 +1 -1
  921. data/vendor/local/share/man/man3/gnutls_bye.3 +1 -1
  922. data/vendor/local/share/man/man3/gnutls_certificate_activation_time_peers.3 +1 -1
  923. data/vendor/local/share/man/man3/gnutls_certificate_allocate_credentials.3 +1 -1
  924. data/vendor/local/share/man/man3/gnutls_certificate_client_get_request_status.3 +1 -1
  925. data/vendor/local/share/man/man3/gnutls_certificate_expiration_time_peers.3 +1 -1
  926. data/vendor/local/share/man/man3/gnutls_certificate_free_ca_names.3 +1 -1
  927. data/vendor/local/share/man/man3/gnutls_certificate_free_cas.3 +1 -1
  928. data/vendor/local/share/man/man3/gnutls_certificate_free_credentials.3 +1 -1
  929. data/vendor/local/share/man/man3/gnutls_certificate_free_crls.3 +1 -1
  930. data/vendor/local/share/man/man3/gnutls_certificate_free_keys.3 +1 -1
  931. data/vendor/local/share/man/man3/gnutls_certificate_get_issuer.3 +1 -1
  932. data/vendor/local/share/man/man3/gnutls_certificate_get_ours.3 +1 -1
  933. data/vendor/local/share/man/man3/gnutls_certificate_get_peers.3 +1 -1
  934. data/vendor/local/share/man/man3/gnutls_certificate_get_peers_subkey_id.3 +3 -1
  935. data/vendor/local/share/man/man3/gnutls_certificate_send_x509_rdn_sequence.3 +1 -1
  936. data/vendor/local/share/man/man3/gnutls_certificate_server_set_request.3 +1 -1
  937. data/vendor/local/share/man/man3/gnutls_certificate_set_dh_params.3 +3 -4
  938. data/vendor/local/share/man/man3/gnutls_certificate_set_key.3 +1 -1
  939. data/vendor/local/share/man/man3/gnutls_certificate_set_ocsp_status_request_file.3 +3 -1
  940. data/vendor/local/share/man/man3/gnutls_certificate_set_ocsp_status_request_function.3 +3 -1
  941. data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key.3 +1 -1
  942. data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_file.3 +1 -1
  943. data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_file2.3 +1 -1
  944. data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_mem.3 +1 -1
  945. data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_mem2.3 +1 -1
  946. data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_keyring_file.3 +1 -1
  947. data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_keyring_mem.3 +1 -1
  948. data/vendor/local/share/man/man3/gnutls_certificate_set_params_function.3 +1 -1
  949. data/vendor/local/share/man/man3/gnutls_certificate_set_pin_function.3 +1 -1
  950. data/vendor/local/share/man/man3/gnutls_certificate_set_retrieve_function.3 +1 -1
  951. data/vendor/local/share/man/man3/gnutls_certificate_set_retrieve_function2.3 +1 -1
  952. data/vendor/local/share/man/man3/gnutls_certificate_set_rsa_export_params.3 +1 -1
  953. data/vendor/local/share/man/man3/gnutls_certificate_set_verify_flags.3 +1 -1
  954. data/vendor/local/share/man/man3/gnutls_certificate_set_verify_function.3 +1 -1
  955. data/vendor/local/share/man/man3/gnutls_certificate_set_verify_limits.3 +1 -1
  956. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl.3 +1 -1
  957. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl_file.3 +1 -1
  958. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl_mem.3 +1 -1
  959. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key.3 +1 -1
  960. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_file.3 +1 -1
  961. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_mem.3 +1 -1
  962. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_simple_pkcs12_file.3 +1 -1
  963. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_simple_pkcs12_mem.3 +1 -1
  964. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_system_trust.3 +1 -1
  965. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust.3 +1 -1
  966. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust_file.3 +1 -1
  967. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust_mem.3 +1 -1
  968. data/vendor/local/share/man/man3/gnutls_certificate_type_get.3 +1 -1
  969. data/vendor/local/share/man/man3/gnutls_certificate_type_get_id.3 +1 -1
  970. data/vendor/local/share/man/man3/gnutls_certificate_type_get_name.3 +1 -1
  971. data/vendor/local/share/man/man3/gnutls_certificate_type_list.3 +1 -1
  972. data/vendor/local/share/man/man3/gnutls_certificate_type_set_priority.3 +1 -1
  973. data/vendor/local/share/man/man3/gnutls_certificate_verification_status_print.3 +1 -1
  974. data/vendor/local/share/man/man3/gnutls_certificate_verify_peers2.3 +1 -1
  975. data/vendor/local/share/man/man3/gnutls_certificate_verify_peers3.3 +1 -1
  976. data/vendor/local/share/man/man3/gnutls_check_version.3 +1 -1
  977. data/vendor/local/share/man/man3/gnutls_cipher_add_auth.3 +1 -1
  978. data/vendor/local/share/man/man3/gnutls_cipher_decrypt.3 +1 -1
  979. data/vendor/local/share/man/man3/gnutls_cipher_decrypt2.3 +1 -1
  980. data/vendor/local/share/man/man3/gnutls_cipher_deinit.3 +1 -1
  981. data/vendor/local/share/man/man3/gnutls_cipher_encrypt.3 +1 -1
  982. data/vendor/local/share/man/man3/gnutls_cipher_encrypt2.3 +1 -1
  983. data/vendor/local/share/man/man3/gnutls_cipher_get.3 +1 -1
  984. data/vendor/local/share/man/man3/gnutls_cipher_get_block_size.3 +1 -1
  985. data/vendor/local/share/man/man3/gnutls_cipher_get_id.3 +1 -1
  986. data/vendor/local/share/man/man3/gnutls_cipher_get_key_size.3 +1 -1
  987. data/vendor/local/share/man/man3/gnutls_cipher_get_name.3 +1 -1
  988. data/vendor/local/share/man/man3/gnutls_cipher_init.3 +1 -1
  989. data/vendor/local/share/man/man3/gnutls_cipher_list.3 +1 -1
  990. data/vendor/local/share/man/man3/gnutls_cipher_set_iv.3 +1 -1
  991. data/vendor/local/share/man/man3/gnutls_cipher_set_priority.3 +1 -1
  992. data/vendor/local/share/man/man3/gnutls_cipher_suite_get_name.3 +1 -1
  993. data/vendor/local/share/man/man3/gnutls_cipher_suite_info.3 +1 -1
  994. data/vendor/local/share/man/man3/gnutls_cipher_tag.3 +1 -1
  995. data/vendor/local/share/man/man3/gnutls_compression_get.3 +1 -1
  996. data/vendor/local/share/man/man3/gnutls_compression_get_id.3 +1 -1
  997. data/vendor/local/share/man/man3/gnutls_compression_get_name.3 +1 -1
  998. data/vendor/local/share/man/man3/gnutls_compression_list.3 +1 -1
  999. data/vendor/local/share/man/man3/gnutls_compression_set_priority.3 +1 -1
  1000. data/vendor/local/share/man/man3/gnutls_credentials_clear.3 +1 -1
  1001. data/vendor/local/share/man/man3/gnutls_credentials_set.3 +1 -1
  1002. data/vendor/local/share/man/man3/gnutls_db_check_entry.3 +2 -4
  1003. data/vendor/local/share/man/man3/gnutls_db_check_entry_time.3 +45 -0
  1004. data/vendor/local/share/man/man3/gnutls_db_get_ptr.3 +1 -1
  1005. data/vendor/local/share/man/man3/gnutls_db_remove_session.3 +1 -1
  1006. data/vendor/local/share/man/man3/gnutls_db_set_cache_expiration.3 +1 -1
  1007. data/vendor/local/share/man/man3/gnutls_db_set_ptr.3 +1 -1
  1008. data/vendor/local/share/man/man3/gnutls_db_set_remove_function.3 +1 -1
  1009. data/vendor/local/share/man/man3/gnutls_db_set_retrieve_function.3 +1 -1
  1010. data/vendor/local/share/man/man3/gnutls_db_set_store_function.3 +1 -1
  1011. data/vendor/local/share/man/man3/gnutls_deinit.3 +1 -1
  1012. data/vendor/local/share/man/man3/gnutls_dh_get_group.3 +1 -1
  1013. data/vendor/local/share/man/man3/gnutls_dh_get_peers_public_bits.3 +1 -1
  1014. data/vendor/local/share/man/man3/gnutls_dh_get_prime_bits.3 +1 -1
  1015. data/vendor/local/share/man/man3/gnutls_dh_get_pubkey.3 +1 -1
  1016. data/vendor/local/share/man/man3/gnutls_dh_get_secret_bits.3 +1 -1
  1017. data/vendor/local/share/man/man3/gnutls_dh_params_cpy.3 +1 -1
  1018. data/vendor/local/share/man/man3/gnutls_dh_params_deinit.3 +1 -1
  1019. data/vendor/local/share/man/man3/gnutls_dh_params_export2_pkcs3.3 +3 -1
  1020. data/vendor/local/share/man/man3/gnutls_dh_params_export_pkcs3.3 +1 -1
  1021. data/vendor/local/share/man/man3/gnutls_dh_params_export_raw.3 +1 -1
  1022. data/vendor/local/share/man/man3/gnutls_dh_params_generate2.3 +1 -1
  1023. data/vendor/local/share/man/man3/gnutls_dh_params_import_pkcs3.3 +1 -1
  1024. data/vendor/local/share/man/man3/gnutls_dh_params_import_raw.3 +1 -1
  1025. data/vendor/local/share/man/man3/gnutls_dh_params_init.3 +1 -1
  1026. data/vendor/local/share/man/man3/gnutls_dh_set_prime_bits.3 +7 -2
  1027. data/vendor/local/share/man/man3/gnutls_dtls_cookie_send.3 +1 -1
  1028. data/vendor/local/share/man/man3/gnutls_dtls_cookie_verify.3 +1 -1
  1029. data/vendor/local/share/man/man3/gnutls_dtls_get_data_mtu.3 +1 -1
  1030. data/vendor/local/share/man/man3/gnutls_dtls_get_mtu.3 +1 -1
  1031. data/vendor/local/share/man/man3/gnutls_dtls_get_timeout.3 +1 -1
  1032. data/vendor/local/share/man/man3/gnutls_dtls_prestate_set.3 +1 -1
  1033. data/vendor/local/share/man/man3/gnutls_dtls_set_data_mtu.3 +1 -1
  1034. data/vendor/local/share/man/man3/gnutls_dtls_set_mtu.3 +1 -1
  1035. data/vendor/local/share/man/man3/gnutls_dtls_set_timeouts.3 +1 -1
  1036. data/vendor/local/share/man/man3/gnutls_ecc_curve_get.3 +1 -1
  1037. data/vendor/local/share/man/man3/gnutls_ecc_curve_get_name.3 +1 -1
  1038. data/vendor/local/share/man/man3/gnutls_ecc_curve_get_size.3 +1 -1
  1039. data/vendor/local/share/man/man3/gnutls_ecc_curve_list.3 +1 -1
  1040. data/vendor/local/share/man/man3/gnutls_error_is_fatal.3 +1 -1
  1041. data/vendor/local/share/man/man3/gnutls_error_to_alert.3 +1 -1
  1042. data/vendor/local/share/man/man3/gnutls_fingerprint.3 +2 -2
  1043. data/vendor/local/share/man/man3/gnutls_global_deinit.3 +1 -1
  1044. data/vendor/local/share/man/man3/gnutls_global_init.3 +1 -1
  1045. data/vendor/local/share/man/man3/gnutls_global_set_audit_log_function.3 +1 -1
  1046. data/vendor/local/share/man/man3/gnutls_global_set_log_function.3 +1 -1
  1047. data/vendor/local/share/man/man3/gnutls_global_set_log_level.3 +1 -1
  1048. data/vendor/local/share/man/man3/gnutls_global_set_mem_functions.3 +1 -1
  1049. data/vendor/local/share/man/man3/gnutls_global_set_mutex.3 +1 -1
  1050. data/vendor/local/share/man/man3/gnutls_global_set_time_function.3 +1 -1
  1051. data/vendor/local/share/man/man3/gnutls_handshake.3 +1 -1
  1052. data/vendor/local/share/man/man3/gnutls_handshake_get_last_in.3 +1 -1
  1053. data/vendor/local/share/man/man3/gnutls_handshake_get_last_out.3 +1 -1
  1054. data/vendor/local/share/man/man3/gnutls_handshake_set_max_packet_length.3 +1 -1
  1055. data/vendor/local/share/man/man3/gnutls_handshake_set_post_client_hello_function.3 +1 -1
  1056. data/vendor/local/share/man/man3/gnutls_handshake_set_private_extensions.3 +1 -1
  1057. data/vendor/local/share/man/man3/gnutls_handshake_set_random.3 +55 -0
  1058. data/vendor/local/share/man/man3/gnutls_handshake_set_timeout.3 +3 -2
  1059. data/vendor/local/share/man/man3/gnutls_hash.3 +1 -1
  1060. data/vendor/local/share/man/man3/gnutls_hash_deinit.3 +1 -1
  1061. data/vendor/local/share/man/man3/gnutls_hash_fast.3 +1 -1
  1062. data/vendor/local/share/man/man3/gnutls_hash_get_len.3 +1 -1
  1063. data/vendor/local/share/man/man3/gnutls_hash_init.3 +1 -1
  1064. data/vendor/local/share/man/man3/gnutls_hash_output.3 +1 -1
  1065. data/vendor/local/share/man/man3/gnutls_heartbeat_allowed.3 +1 -1
  1066. data/vendor/local/share/man/man3/gnutls_heartbeat_enable.3 +1 -1
  1067. data/vendor/local/share/man/man3/gnutls_heartbeat_get_timeout.3 +1 -1
  1068. data/vendor/local/share/man/man3/gnutls_heartbeat_ping.3 +1 -1
  1069. data/vendor/local/share/man/man3/gnutls_heartbeat_pong.3 +1 -1
  1070. data/vendor/local/share/man/man3/gnutls_heartbeat_set_timeouts.3 +1 -1
  1071. data/vendor/local/share/man/man3/gnutls_hex2bin.3 +1 -1
  1072. data/vendor/local/share/man/man3/gnutls_hex_decode.3 +1 -1
  1073. data/vendor/local/share/man/man3/gnutls_hex_encode.3 +1 -1
  1074. data/vendor/local/share/man/man3/gnutls_hmac.3 +1 -1
  1075. data/vendor/local/share/man/man3/gnutls_hmac_deinit.3 +1 -1
  1076. data/vendor/local/share/man/man3/gnutls_hmac_fast.3 +1 -1
  1077. data/vendor/local/share/man/man3/gnutls_hmac_get_len.3 +1 -1
  1078. data/vendor/local/share/man/man3/gnutls_hmac_init.3 +1 -1
  1079. data/vendor/local/share/man/man3/gnutls_hmac_output.3 +1 -1
  1080. data/vendor/local/share/man/man3/gnutls_init.3 +1 -1
  1081. data/vendor/local/share/man/man3/gnutls_key_generate.3 +2 -2
  1082. data/vendor/local/share/man/man3/gnutls_kx_get.3 +1 -1
  1083. data/vendor/local/share/man/man3/gnutls_kx_get_id.3 +1 -1
  1084. data/vendor/local/share/man/man3/gnutls_kx_get_name.3 +1 -1
  1085. data/vendor/local/share/man/man3/gnutls_kx_list.3 +1 -1
  1086. data/vendor/local/share/man/man3/gnutls_kx_set_priority.3 +1 -1
  1087. data/vendor/local/share/man/man3/gnutls_load_file.3 +1 -1
  1088. data/vendor/local/share/man/man3/gnutls_mac_get.3 +1 -1
  1089. data/vendor/local/share/man/man3/gnutls_mac_get_id.3 +1 -1
  1090. data/vendor/local/share/man/man3/gnutls_mac_get_key_size.3 +1 -1
  1091. data/vendor/local/share/man/man3/gnutls_mac_get_name.3 +1 -1
  1092. data/vendor/local/share/man/man3/gnutls_mac_list.3 +1 -1
  1093. data/vendor/local/share/man/man3/gnutls_mac_set_priority.3 +1 -1
  1094. data/vendor/local/share/man/man3/gnutls_ocsp_req_add_cert.3 +1 -1
  1095. data/vendor/local/share/man/man3/gnutls_ocsp_req_add_cert_id.3 +1 -1
  1096. data/vendor/local/share/man/man3/gnutls_ocsp_req_deinit.3 +1 -1
  1097. data/vendor/local/share/man/man3/gnutls_ocsp_req_export.3 +1 -1
  1098. data/vendor/local/share/man/man3/gnutls_ocsp_req_get_cert_id.3 +1 -1
  1099. data/vendor/local/share/man/man3/gnutls_ocsp_req_get_extension.3 +1 -1
  1100. data/vendor/local/share/man/man3/gnutls_ocsp_req_get_nonce.3 +1 -1
  1101. data/vendor/local/share/man/man3/gnutls_ocsp_req_get_version.3 +1 -1
  1102. data/vendor/local/share/man/man3/gnutls_ocsp_req_import.3 +1 -1
  1103. data/vendor/local/share/man/man3/gnutls_ocsp_req_init.3 +1 -1
  1104. data/vendor/local/share/man/man3/gnutls_ocsp_req_print.3 +1 -1
  1105. data/vendor/local/share/man/man3/gnutls_ocsp_req_randomize_nonce.3 +1 -1
  1106. data/vendor/local/share/man/man3/gnutls_ocsp_req_set_extension.3 +1 -1
  1107. data/vendor/local/share/man/man3/gnutls_ocsp_req_set_nonce.3 +1 -1
  1108. data/vendor/local/share/man/man3/gnutls_ocsp_resp_check_crt.3 +3 -1
  1109. data/vendor/local/share/man/man3/gnutls_ocsp_resp_deinit.3 +1 -1
  1110. data/vendor/local/share/man/man3/gnutls_ocsp_resp_export.3 +1 -1
  1111. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_certs.3 +1 -1
  1112. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_extension.3 +1 -1
  1113. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_nonce.3 +1 -1
  1114. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_produced.3 +1 -1
  1115. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_responder.3 +1 -1
  1116. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_response.3 +1 -1
  1117. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_signature.3 +1 -1
  1118. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_signature_algorithm.3 +1 -1
  1119. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_single.3 +1 -1
  1120. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_status.3 +1 -1
  1121. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_version.3 +1 -1
  1122. data/vendor/local/share/man/man3/gnutls_ocsp_resp_import.3 +1 -1
  1123. data/vendor/local/share/man/man3/gnutls_ocsp_resp_init.3 +1 -1
  1124. data/vendor/local/share/man/man3/gnutls_ocsp_resp_print.3 +1 -1
  1125. data/vendor/local/share/man/man3/gnutls_ocsp_resp_verify.3 +1 -1
  1126. data/vendor/local/share/man/man3/gnutls_ocsp_resp_verify_direct.3 +1 -1
  1127. data/vendor/local/share/man/man3/gnutls_ocsp_status_request_enable_client.3 +3 -1
  1128. data/vendor/local/share/man/man3/gnutls_ocsp_status_request_get.3 +3 -1
  1129. data/vendor/local/share/man/man3/gnutls_ocsp_status_request_is_checked.3 +1 -1
  1130. data/vendor/local/share/man/man3/gnutls_openpgp_crt_check_hostname.3 +1 -1
  1131. data/vendor/local/share/man/man3/gnutls_openpgp_crt_deinit.3 +1 -1
  1132. data/vendor/local/share/man/man3/gnutls_openpgp_crt_export.3 +1 -1
  1133. data/vendor/local/share/man/man3/gnutls_openpgp_crt_export2.3 +3 -1
  1134. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_auth_subkey.3 +1 -1
  1135. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_creation_time.3 +1 -1
  1136. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_expiration_time.3 +1 -1
  1137. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_fingerprint.3 +1 -1
  1138. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_key_id.3 +1 -1
  1139. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_key_usage.3 +1 -1
  1140. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_name.3 +1 -1
  1141. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_algorithm.3 +1 -1
  1142. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_dsa_raw.3 +1 -1
  1143. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_rsa_raw.3 +1 -1
  1144. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_preferred_key_id.3 +1 -1
  1145. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_revoked_status.3 +1 -1
  1146. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_count.3 +1 -1
  1147. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_creation_time.3 +1 -1
  1148. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_expiration_time.3 +1 -1
  1149. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_fingerprint.3 +1 -1
  1150. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_id.3 +1 -1
  1151. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_idx.3 +1 -1
  1152. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_algorithm.3 +1 -1
  1153. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_dsa_raw.3 +1 -1
  1154. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_rsa_raw.3 +1 -1
  1155. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_revoked_status.3 +1 -1
  1156. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_usage.3 +1 -1
  1157. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_version.3 +1 -1
  1158. data/vendor/local/share/man/man3/gnutls_openpgp_crt_import.3 +1 -1
  1159. data/vendor/local/share/man/man3/gnutls_openpgp_crt_init.3 +1 -1
  1160. data/vendor/local/share/man/man3/gnutls_openpgp_crt_print.3 +1 -1
  1161. data/vendor/local/share/man/man3/gnutls_openpgp_crt_set_preferred_key_id.3 +1 -1
  1162. data/vendor/local/share/man/man3/gnutls_openpgp_crt_verify_ring.3 +1 -1
  1163. data/vendor/local/share/man/man3/gnutls_openpgp_crt_verify_self.3 +1 -1
  1164. data/vendor/local/share/man/man3/gnutls_openpgp_keyring_check_id.3 +1 -1
  1165. data/vendor/local/share/man/man3/gnutls_openpgp_keyring_deinit.3 +1 -1
  1166. data/vendor/local/share/man/man3/gnutls_openpgp_keyring_get_crt.3 +1 -1
  1167. data/vendor/local/share/man/man3/gnutls_openpgp_keyring_get_crt_count.3 +1 -1
  1168. data/vendor/local/share/man/man3/gnutls_openpgp_keyring_import.3 +1 -1
  1169. data/vendor/local/share/man/man3/gnutls_openpgp_keyring_init.3 +1 -1
  1170. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_deinit.3 +1 -1
  1171. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export.3 +1 -1
  1172. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export2.3 +2 -2
  1173. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_dsa_raw.3 +1 -1
  1174. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_rsa_raw.3 +1 -1
  1175. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_subkey_dsa_raw.3 +1 -1
  1176. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_subkey_rsa_raw.3 +1 -1
  1177. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_fingerprint.3 +1 -1
  1178. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_key_id.3 +1 -1
  1179. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_pk_algorithm.3 +1 -1
  1180. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_preferred_key_id.3 +1 -1
  1181. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_revoked_status.3 +1 -1
  1182. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_count.3 +1 -1
  1183. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_creation_time.3 +1 -1
  1184. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_fingerprint.3 +1 -1
  1185. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_id.3 +1 -1
  1186. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_idx.3 +1 -1
  1187. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_pk_algorithm.3 +1 -1
  1188. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_revoked_status.3 +1 -1
  1189. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_import.3 +1 -1
  1190. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_init.3 +1 -1
  1191. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_sec_param.3 +1 -1
  1192. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_set_preferred_key_id.3 +1 -1
  1193. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_sign_hash.3 +1 -1
  1194. data/vendor/local/share/man/man3/gnutls_openpgp_send_cert.3 +1 -1
  1195. data/vendor/local/share/man/man3/gnutls_openpgp_set_recv_key_function.3 +3 -1
  1196. data/vendor/local/share/man/man3/gnutls_pcert_deinit.3 +1 -1
  1197. data/vendor/local/share/man/man3/gnutls_pcert_import_openpgp.3 +1 -1
  1198. data/vendor/local/share/man/man3/gnutls_pcert_import_openpgp_raw.3 +1 -1
  1199. data/vendor/local/share/man/man3/gnutls_pcert_import_x509.3 +1 -1
  1200. data/vendor/local/share/man/man3/gnutls_pcert_import_x509_raw.3 +1 -1
  1201. data/vendor/local/share/man/man3/gnutls_pcert_list_import_x509_raw.3 +1 -1
  1202. data/vendor/local/share/man/man3/gnutls_pem_base64_decode.3 +1 -1
  1203. data/vendor/local/share/man/man3/gnutls_pem_base64_decode_alloc.3 +1 -1
  1204. data/vendor/local/share/man/man3/gnutls_pem_base64_encode.3 +1 -1
  1205. data/vendor/local/share/man/man3/gnutls_pem_base64_encode_alloc.3 +1 -1
  1206. data/vendor/local/share/man/man3/gnutls_perror.3 +1 -1
  1207. data/vendor/local/share/man/man3/gnutls_pk_algorithm_get_name.3 +1 -1
  1208. data/vendor/local/share/man/man3/gnutls_pk_bits_to_sec_param.3 +1 -1
  1209. data/vendor/local/share/man/man3/gnutls_pk_get_id.3 +1 -1
  1210. data/vendor/local/share/man/man3/gnutls_pk_get_name.3 +1 -1
  1211. data/vendor/local/share/man/man3/gnutls_pk_list.3 +1 -1
  1212. data/vendor/local/share/man/man3/gnutls_pk_to_sign.3 +1 -1
  1213. data/vendor/local/share/man/man3/gnutls_pkcs11_add_provider.3 +1 -1
  1214. data/vendor/local/share/man/man3/gnutls_pkcs11_copy_secret_key.3 +1 -1
  1215. data/vendor/local/share/man/man3/gnutls_pkcs11_copy_x509_crt.3 +1 -1
  1216. data/vendor/local/share/man/man3/gnutls_pkcs11_copy_x509_privkey.3 +1 -1
  1217. data/vendor/local/share/man/man3/gnutls_pkcs11_deinit.3 +1 -1
  1218. data/vendor/local/share/man/man3/gnutls_pkcs11_delete_url.3 +1 -1
  1219. data/vendor/local/share/man/man3/gnutls_pkcs11_get_pin_function.3 +1 -1
  1220. data/vendor/local/share/man/man3/gnutls_pkcs11_init.3 +1 -1
  1221. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_deinit.3 +1 -1
  1222. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export.3 +1 -1
  1223. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export2.3 +2 -2
  1224. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export_url.3 +1 -1
  1225. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_get_info.3 +1 -1
  1226. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_get_type.3 +1 -1
  1227. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_import_url.3 +1 -1
  1228. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_init.3 +1 -1
  1229. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_list_import_url.3 +1 -1
  1230. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_list_import_url2.3 +1 -1
  1231. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_set_pin_function.3 +1 -1
  1232. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_deinit.3 +1 -1
  1233. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_export_url.3 +1 -1
  1234. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_generate.3 +1 -1
  1235. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_generate2.3 +1 -1
  1236. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_get_info.3 +1 -1
  1237. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_get_pk_algorithm.3 +1 -1
  1238. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_import_url.3 +1 -1
  1239. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_init.3 +1 -1
  1240. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_set_pin_function.3 +1 -1
  1241. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_status.3 +47 -0
  1242. data/vendor/local/share/man/man3/gnutls_pkcs11_reinit.3 +1 -1
  1243. data/vendor/local/share/man/man3/gnutls_pkcs11_set_pin_function.3 +1 -1
  1244. data/vendor/local/share/man/man3/gnutls_pkcs11_set_token_function.3 +1 -1
  1245. data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_flags.3 +1 -1
  1246. data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_info.3 +1 -1
  1247. data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_mechanism.3 +1 -1
  1248. data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_url.3 +1 -1
  1249. data/vendor/local/share/man/man3/gnutls_pkcs11_token_init.3 +1 -1
  1250. data/vendor/local/share/man/man3/gnutls_pkcs11_token_set_pin.3 +1 -1
  1251. data/vendor/local/share/man/man3/gnutls_pkcs11_type_get_name.3 +1 -1
  1252. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_decrypt.3 +1 -1
  1253. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_deinit.3 +1 -1
  1254. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_encrypt.3 +1 -1
  1255. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_count.3 +1 -1
  1256. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_data.3 +1 -1
  1257. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_friendly_name.3 +1 -1
  1258. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_key_id.3 +1 -1
  1259. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_type.3 +1 -1
  1260. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_init.3 +1 -1
  1261. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_crl.3 +1 -1
  1262. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_crt.3 +1 -1
  1263. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_data.3 +1 -1
  1264. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_friendly_name.3 +1 -1
  1265. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_key_id.3 +1 -1
  1266. data/vendor/local/share/man/man3/gnutls_pkcs12_deinit.3 +1 -1
  1267. data/vendor/local/share/man/man3/gnutls_pkcs12_export.3 +1 -1
  1268. data/vendor/local/share/man/man3/gnutls_pkcs12_export2.3 +2 -2
  1269. data/vendor/local/share/man/man3/gnutls_pkcs12_generate_mac.3 +1 -1
  1270. data/vendor/local/share/man/man3/gnutls_pkcs12_get_bag.3 +1 -1
  1271. data/vendor/local/share/man/man3/gnutls_pkcs12_import.3 +1 -1
  1272. data/vendor/local/share/man/man3/gnutls_pkcs12_init.3 +1 -1
  1273. data/vendor/local/share/man/man3/gnutls_pkcs12_set_bag.3 +1 -1
  1274. data/vendor/local/share/man/man3/gnutls_pkcs12_simple_parse.3 +11 -11
  1275. data/vendor/local/share/man/man3/gnutls_pkcs12_verify_mac.3 +1 -1
  1276. data/vendor/local/share/man/man3/gnutls_pkcs7_deinit.3 +1 -1
  1277. data/vendor/local/share/man/man3/gnutls_pkcs7_delete_crl.3 +1 -1
  1278. data/vendor/local/share/man/man3/gnutls_pkcs7_delete_crt.3 +1 -1
  1279. data/vendor/local/share/man/man3/gnutls_pkcs7_export.3 +1 -1
  1280. data/vendor/local/share/man/man3/gnutls_pkcs7_export2.3 +3 -1
  1281. data/vendor/local/share/man/man3/gnutls_pkcs7_get_crl_count.3 +1 -1
  1282. data/vendor/local/share/man/man3/gnutls_pkcs7_get_crl_raw.3 +1 -1
  1283. data/vendor/local/share/man/man3/gnutls_pkcs7_get_crt_count.3 +1 -1
  1284. data/vendor/local/share/man/man3/gnutls_pkcs7_get_crt_raw.3 +1 -1
  1285. data/vendor/local/share/man/man3/gnutls_pkcs7_import.3 +1 -1
  1286. data/vendor/local/share/man/man3/gnutls_pkcs7_init.3 +1 -1
  1287. data/vendor/local/share/man/man3/gnutls_pkcs7_set_crl.3 +1 -1
  1288. data/vendor/local/share/man/man3/gnutls_pkcs7_set_crl_raw.3 +1 -1
  1289. data/vendor/local/share/man/man3/gnutls_pkcs7_set_crt.3 +1 -1
  1290. data/vendor/local/share/man/man3/gnutls_pkcs7_set_crt_raw.3 +1 -1
  1291. data/vendor/local/share/man/man3/gnutls_prf.3 +1 -1
  1292. data/vendor/local/share/man/man3/gnutls_prf_raw.3 +1 -1
  1293. data/vendor/local/share/man/man3/gnutls_priority_certificate_type_list.3 +1 -1
  1294. data/vendor/local/share/man/man3/gnutls_priority_compression_list.3 +1 -1
  1295. data/vendor/local/share/man/man3/gnutls_priority_deinit.3 +1 -1
  1296. data/vendor/local/share/man/man3/gnutls_priority_ecc_curve_list.3 +1 -1
  1297. data/vendor/local/share/man/man3/gnutls_priority_get_cipher_suite_index.3 +1 -1
  1298. data/vendor/local/share/man/man3/gnutls_priority_init.3 +1 -1
  1299. data/vendor/local/share/man/man3/gnutls_priority_protocol_list.3 +1 -1
  1300. data/vendor/local/share/man/man3/gnutls_priority_set.3 +1 -1
  1301. data/vendor/local/share/man/man3/gnutls_priority_set_direct.3 +1 -1
  1302. data/vendor/local/share/man/man3/gnutls_priority_sign_list.3 +1 -1
  1303. data/vendor/local/share/man/man3/gnutls_privkey_decrypt_data.3 +1 -1
  1304. data/vendor/local/share/man/man3/gnutls_privkey_deinit.3 +1 -1
  1305. data/vendor/local/share/man/man3/gnutls_privkey_get_pk_algorithm.3 +1 -1
  1306. data/vendor/local/share/man/man3/gnutls_privkey_get_type.3 +1 -1
  1307. data/vendor/local/share/man/man3/gnutls_privkey_import_ext.3 +4 -1
  1308. data/vendor/local/share/man/man3/gnutls_privkey_import_ext2.3 +4 -1
  1309. data/vendor/local/share/man/man3/gnutls_privkey_import_openpgp.3 +1 -1
  1310. data/vendor/local/share/man/man3/gnutls_privkey_import_openpgp_raw.3 +1 -1
  1311. data/vendor/local/share/man/man3/gnutls_privkey_import_pkcs11.3 +1 -1
  1312. data/vendor/local/share/man/man3/gnutls_privkey_import_pkcs11_url.3 +1 -1
  1313. data/vendor/local/share/man/man3/gnutls_privkey_import_tpm_raw.3 +1 -1
  1314. data/vendor/local/share/man/man3/gnutls_privkey_import_tpm_url.3 +1 -1
  1315. data/vendor/local/share/man/man3/gnutls_privkey_import_url.3 +1 -1
  1316. data/vendor/local/share/man/man3/gnutls_privkey_import_x509.3 +1 -1
  1317. data/vendor/local/share/man/man3/gnutls_privkey_import_x509_raw.3 +3 -3
  1318. data/vendor/local/share/man/man3/gnutls_privkey_init.3 +1 -1
  1319. data/vendor/local/share/man/man3/gnutls_privkey_set_pin_function.3 +1 -1
  1320. data/vendor/local/share/man/man3/gnutls_privkey_sign_data.3 +1 -1
  1321. data/vendor/local/share/man/man3/gnutls_privkey_sign_hash.3 +1 -1
  1322. data/vendor/local/share/man/man3/gnutls_privkey_sign_raw_data.3 +57 -0
  1323. data/vendor/local/share/man/man3/gnutls_privkey_status.3 +50 -0
  1324. data/vendor/local/share/man/man3/gnutls_protocol_get_id.3 +1 -1
  1325. data/vendor/local/share/man/man3/gnutls_protocol_get_name.3 +1 -1
  1326. data/vendor/local/share/man/man3/gnutls_protocol_get_version.3 +1 -1
  1327. data/vendor/local/share/man/man3/gnutls_protocol_list.3 +1 -1
  1328. data/vendor/local/share/man/man3/gnutls_protocol_set_priority.3 +1 -1
  1329. data/vendor/local/share/man/man3/gnutls_psk_allocate_client_credentials.3 +1 -1
  1330. data/vendor/local/share/man/man3/gnutls_psk_allocate_server_credentials.3 +1 -1
  1331. data/vendor/local/share/man/man3/gnutls_psk_client_get_hint.3 +1 -1
  1332. data/vendor/local/share/man/man3/gnutls_psk_free_client_credentials.3 +1 -1
  1333. data/vendor/local/share/man/man3/gnutls_psk_free_server_credentials.3 +1 -1
  1334. data/vendor/local/share/man/man3/gnutls_psk_server_get_username.3 +1 -1
  1335. data/vendor/local/share/man/man3/gnutls_psk_set_client_credentials.3 +1 -1
  1336. data/vendor/local/share/man/man3/gnutls_psk_set_client_credentials_function.3 +1 -1
  1337. data/vendor/local/share/man/man3/gnutls_psk_set_params_function.3 +1 -1
  1338. data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_file.3 +1 -1
  1339. data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_function.3 +1 -1
  1340. data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_hint.3 +1 -1
  1341. data/vendor/local/share/man/man3/gnutls_psk_set_server_dh_params.3 +1 -1
  1342. data/vendor/local/share/man/man3/gnutls_psk_set_server_params_function.3 +1 -1
  1343. data/vendor/local/share/man/man3/gnutls_pubkey_deinit.3 +1 -1
  1344. data/vendor/local/share/man/man3/gnutls_pubkey_encrypt_data.3 +1 -1
  1345. data/vendor/local/share/man/man3/gnutls_pubkey_export.3 +1 -1
  1346. data/vendor/local/share/man/man3/gnutls_pubkey_export2.3 +1 -1
  1347. data/vendor/local/share/man/man3/gnutls_pubkey_get_key_id.3 +1 -1
  1348. data/vendor/local/share/man/man3/gnutls_pubkey_get_key_usage.3 +1 -1
  1349. data/vendor/local/share/man/man3/gnutls_pubkey_get_openpgp_key_id.3 +6 -3
  1350. data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_algorithm.3 +1 -1
  1351. data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_dsa_raw.3 +1 -1
  1352. data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_ecc_raw.3 +1 -1
  1353. data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_ecc_x962.3 +1 -1
  1354. data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_rsa_raw.3 +1 -1
  1355. data/vendor/local/share/man/man3/gnutls_pubkey_get_preferred_hash_algorithm.3 +4 -1
  1356. data/vendor/local/share/man/man3/gnutls_pubkey_get_verify_algorithm.3 +1 -1
  1357. data/vendor/local/share/man/man3/gnutls_pubkey_import.3 +1 -1
  1358. data/vendor/local/share/man/man3/gnutls_pubkey_import_dsa_raw.3 +1 -1
  1359. data/vendor/local/share/man/man3/gnutls_pubkey_import_ecc_raw.3 +1 -1
  1360. data/vendor/local/share/man/man3/gnutls_pubkey_import_ecc_x962.3 +1 -1
  1361. data/vendor/local/share/man/man3/gnutls_pubkey_import_openpgp.3 +1 -1
  1362. data/vendor/local/share/man/man3/gnutls_pubkey_import_openpgp_raw.3 +1 -1
  1363. data/vendor/local/share/man/man3/gnutls_pubkey_import_pkcs11.3 +1 -1
  1364. data/vendor/local/share/man/man3/gnutls_pubkey_import_pkcs11_url.3 +1 -1
  1365. data/vendor/local/share/man/man3/gnutls_pubkey_import_privkey.3 +1 -1
  1366. data/vendor/local/share/man/man3/gnutls_pubkey_import_rsa_raw.3 +1 -1
  1367. data/vendor/local/share/man/man3/gnutls_pubkey_import_tpm_raw.3 +1 -1
  1368. data/vendor/local/share/man/man3/gnutls_pubkey_import_tpm_url.3 +1 -1
  1369. data/vendor/local/share/man/man3/gnutls_pubkey_import_url.3 +1 -1
  1370. data/vendor/local/share/man/man3/gnutls_pubkey_import_x509.3 +1 -1
  1371. data/vendor/local/share/man/man3/gnutls_pubkey_import_x509_crq.3 +1 -1
  1372. data/vendor/local/share/man/man3/gnutls_pubkey_import_x509_raw.3 +1 -1
  1373. data/vendor/local/share/man/man3/gnutls_pubkey_init.3 +1 -1
  1374. data/vendor/local/share/man/man3/gnutls_pubkey_print.3 +1 -1
  1375. data/vendor/local/share/man/man3/gnutls_pubkey_set_key_usage.3 +1 -1
  1376. data/vendor/local/share/man/man3/gnutls_pubkey_set_pin_function.3 +1 -1
  1377. data/vendor/local/share/man/man3/gnutls_pubkey_verify_data.3 +4 -3
  1378. data/vendor/local/share/man/man3/gnutls_pubkey_verify_data2.3 +1 -1
  1379. data/vendor/local/share/man/man3/gnutls_pubkey_verify_hash.3 +3 -2
  1380. data/vendor/local/share/man/man3/gnutls_pubkey_verify_hash2.3 +1 -1
  1381. data/vendor/local/share/man/man3/gnutls_random_art.3 +1 -1
  1382. data/vendor/local/share/man/man3/gnutls_range_split.3 +56 -0
  1383. data/vendor/local/share/man/man3/gnutls_record_can_use_length_hiding.3 +51 -0
  1384. data/vendor/local/share/man/man3/gnutls_record_check_pending.3 +1 -1
  1385. data/vendor/local/share/man/man3/gnutls_record_cork.3 +46 -0
  1386. data/vendor/local/share/man/man3/gnutls_record_disable_padding.3 +3 -3
  1387. data/vendor/local/share/man/man3/gnutls_record_get_direction.3 +1 -1
  1388. data/vendor/local/share/man/man3/gnutls_record_get_discarded.3 +1 -1
  1389. data/vendor/local/share/man/man3/gnutls_record_get_max_size.3 +1 -1
  1390. data/vendor/local/share/man/man3/gnutls_record_recv.3 +1 -1
  1391. data/vendor/local/share/man/man3/gnutls_record_recv_seq.3 +1 -1
  1392. data/vendor/local/share/man/man3/gnutls_record_send.3 +1 -1
  1393. data/vendor/local/share/man/man3/gnutls_record_send_range.3 +60 -0
  1394. data/vendor/local/share/man/man3/gnutls_record_set_max_empty_records.3 +50 -0
  1395. data/vendor/local/share/man/man3/gnutls_record_set_max_size.3 +1 -1
  1396. data/vendor/local/share/man/man3/gnutls_record_set_timeout.3 +52 -0
  1397. data/vendor/local/share/man/man3/gnutls_record_uncork.3 +53 -0
  1398. data/vendor/local/share/man/man3/gnutls_rehandshake.3 +1 -1
  1399. data/vendor/local/share/man/man3/gnutls_rnd.3 +1 -1
  1400. data/vendor/local/share/man/man3/gnutls_rnd_refresh.3 +47 -0
  1401. data/vendor/local/share/man/man3/gnutls_rsa_export_get_modulus_bits.3 +1 -1
  1402. data/vendor/local/share/man/man3/gnutls_rsa_export_get_pubkey.3 +1 -1
  1403. data/vendor/local/share/man/man3/gnutls_rsa_params_cpy.3 +1 -1
  1404. data/vendor/local/share/man/man3/gnutls_rsa_params_deinit.3 +1 -1
  1405. data/vendor/local/share/man/man3/gnutls_rsa_params_export_pkcs1.3 +1 -1
  1406. data/vendor/local/share/man/man3/gnutls_rsa_params_export_raw.3 +1 -1
  1407. data/vendor/local/share/man/man3/gnutls_rsa_params_generate2.3 +1 -1
  1408. data/vendor/local/share/man/man3/gnutls_rsa_params_import_pkcs1.3 +1 -1
  1409. data/vendor/local/share/man/man3/gnutls_rsa_params_import_raw.3 +1 -1
  1410. data/vendor/local/share/man/man3/gnutls_rsa_params_init.3 +1 -1
  1411. data/vendor/local/share/man/man3/gnutls_safe_renegotiation_status.3 +1 -1
  1412. data/vendor/local/share/man/man3/gnutls_sec_param_get_name.3 +1 -1
  1413. data/vendor/local/share/man/man3/gnutls_sec_param_to_pk_bits.3 +1 -1
  1414. data/vendor/local/share/man/man3/gnutls_server_name_get.3 +1 -1
  1415. data/vendor/local/share/man/man3/gnutls_server_name_set.3 +1 -1
  1416. data/vendor/local/share/man/man3/gnutls_session_channel_binding.3 +1 -1
  1417. data/vendor/local/share/man/man3/gnutls_session_enable_compatibility_mode.3 +1 -1
  1418. data/vendor/local/share/man/man3/gnutls_session_force_valid.3 +46 -0
  1419. data/vendor/local/share/man/man3/gnutls_session_get_data.3 +1 -1
  1420. data/vendor/local/share/man/man3/gnutls_session_get_data2.3 +1 -1
  1421. data/vendor/local/share/man/man3/gnutls_session_get_desc.3 +47 -0
  1422. data/vendor/local/share/man/man3/gnutls_session_get_id.3 +1 -1
  1423. data/vendor/local/share/man/man3/gnutls_session_get_id2.3 +1 -1
  1424. data/vendor/local/share/man/man3/gnutls_session_get_ptr.3 +1 -1
  1425. data/vendor/local/share/man/man3/gnutls_session_get_random.3 +1 -1
  1426. data/vendor/local/share/man/man3/gnutls_session_is_resumed.3 +1 -1
  1427. data/vendor/local/share/man/man3/gnutls_session_resumption_requested.3 +1 -1
  1428. data/vendor/local/share/man/man3/gnutls_session_set_data.3 +1 -1
  1429. data/vendor/local/share/man/man3/gnutls_session_set_premaster.3 +1 -1
  1430. data/vendor/local/share/man/man3/gnutls_session_set_ptr.3 +1 -1
  1431. data/vendor/local/share/man/man3/gnutls_session_ticket_enable_client.3 +1 -1
  1432. data/vendor/local/share/man/man3/gnutls_session_ticket_enable_server.3 +1 -1
  1433. data/vendor/local/share/man/man3/gnutls_session_ticket_key_generate.3 +1 -1
  1434. data/vendor/local/share/man/man3/gnutls_set_default_export_priority.3 +1 -1
  1435. data/vendor/local/share/man/man3/gnutls_set_default_priority.3 +1 -1
  1436. data/vendor/local/share/man/man3/gnutls_sign_algorithm_get.3 +1 -1
  1437. data/vendor/local/share/man/man3/gnutls_sign_algorithm_get_requested.3 +1 -1
  1438. data/vendor/local/share/man/man3/gnutls_sign_callback_get.3 +1 -1
  1439. data/vendor/local/share/man/man3/gnutls_sign_callback_set.3 +1 -1
  1440. data/vendor/local/share/man/man3/gnutls_sign_get_hash_algorithm.3 +1 -1
  1441. data/vendor/local/share/man/man3/gnutls_sign_get_id.3 +1 -1
  1442. data/vendor/local/share/man/man3/gnutls_sign_get_name.3 +1 -1
  1443. data/vendor/local/share/man/man3/gnutls_sign_get_pk_algorithm.3 +1 -1
  1444. data/vendor/local/share/man/man3/gnutls_sign_is_secure.3 +1 -1
  1445. data/vendor/local/share/man/man3/gnutls_sign_list.3 +1 -1
  1446. data/vendor/local/share/man/man3/gnutls_srp_allocate_client_credentials.3 +1 -1
  1447. data/vendor/local/share/man/man3/gnutls_srp_allocate_server_credentials.3 +1 -1
  1448. data/vendor/local/share/man/man3/gnutls_srp_base64_decode.3 +1 -1
  1449. data/vendor/local/share/man/man3/gnutls_srp_base64_decode_alloc.3 +1 -1
  1450. data/vendor/local/share/man/man3/gnutls_srp_base64_encode.3 +1 -1
  1451. data/vendor/local/share/man/man3/gnutls_srp_base64_encode_alloc.3 +1 -1
  1452. data/vendor/local/share/man/man3/gnutls_srp_free_client_credentials.3 +1 -1
  1453. data/vendor/local/share/man/man3/gnutls_srp_free_server_credentials.3 +1 -1
  1454. data/vendor/local/share/man/man3/gnutls_srp_server_get_username.3 +1 -1
  1455. data/vendor/local/share/man/man3/gnutls_srp_set_client_credentials.3 +1 -1
  1456. data/vendor/local/share/man/man3/gnutls_srp_set_client_credentials_function.3 +1 -1
  1457. data/vendor/local/share/man/man3/gnutls_srp_set_prime_bits.3 +1 -1
  1458. data/vendor/local/share/man/man3/gnutls_srp_set_server_credentials_file.3 +1 -1
  1459. data/vendor/local/share/man/man3/gnutls_srp_set_server_credentials_function.3 +1 -1
  1460. data/vendor/local/share/man/man3/gnutls_srp_verifier.3 +1 -1
  1461. data/vendor/local/share/man/man3/gnutls_srtp_get_keys.3 +1 -1
  1462. data/vendor/local/share/man/man3/gnutls_srtp_get_mki.3 +1 -1
  1463. data/vendor/local/share/man/man3/gnutls_srtp_get_profile_id.3 +1 -1
  1464. data/vendor/local/share/man/man3/gnutls_srtp_get_profile_name.3 +1 -1
  1465. data/vendor/local/share/man/man3/gnutls_srtp_get_selected_profile.3 +1 -1
  1466. data/vendor/local/share/man/man3/gnutls_srtp_set_mki.3 +1 -1
  1467. data/vendor/local/share/man/man3/gnutls_srtp_set_profile.3 +1 -1
  1468. data/vendor/local/share/man/man3/gnutls_srtp_set_profile_direct.3 +1 -1
  1469. data/vendor/local/share/man/man3/gnutls_store_commitment.3 +1 -1
  1470. data/vendor/local/share/man/man3/gnutls_store_pubkey.3 +1 -1
  1471. data/vendor/local/share/man/man3/gnutls_strerror.3 +1 -1
  1472. data/vendor/local/share/man/man3/gnutls_strerror_name.3 +1 -1
  1473. data/vendor/local/share/man/man3/gnutls_supplemental_get_name.3 +1 -1
  1474. data/vendor/local/share/man/man3/gnutls_tdb_deinit.3 +1 -1
  1475. data/vendor/local/share/man/man3/gnutls_tdb_init.3 +1 -1
  1476. data/vendor/local/share/man/man3/gnutls_tdb_set_store_commitment_func.3 +1 -1
  1477. data/vendor/local/share/man/man3/gnutls_tdb_set_store_func.3 +1 -1
  1478. data/vendor/local/share/man/man3/gnutls_tdb_set_verify_func.3 +1 -1
  1479. data/vendor/local/share/man/man3/gnutls_tpm_get_registered.3 +1 -1
  1480. data/vendor/local/share/man/man3/gnutls_tpm_key_list_deinit.3 +1 -1
  1481. data/vendor/local/share/man/man3/gnutls_tpm_key_list_get_url.3 +1 -1
  1482. data/vendor/local/share/man/man3/gnutls_tpm_privkey_delete.3 +1 -1
  1483. data/vendor/local/share/man/man3/gnutls_tpm_privkey_generate.3 +1 -1
  1484. data/vendor/local/share/man/man3/gnutls_transport_get_int.3 +48 -0
  1485. data/vendor/local/share/man/man3/gnutls_transport_get_int2.3 +50 -0
  1486. data/vendor/local/share/man/man3/gnutls_transport_get_ptr.3 +1 -1
  1487. data/vendor/local/share/man/man3/gnutls_transport_get_ptr2.3 +1 -1
  1488. data/vendor/local/share/man/man3/gnutls_transport_set_errno.3 +1 -1
  1489. data/vendor/local/share/man/man3/gnutls_transport_set_errno_function.3 +1 -1
  1490. data/vendor/local/share/man/man3/gnutls_transport_set_int.3 +47 -0
  1491. data/vendor/local/share/man/man3/gnutls_transport_set_int2.3 +51 -0
  1492. data/vendor/local/share/man/man3/gnutls_transport_set_ptr.3 +1 -1
  1493. data/vendor/local/share/man/man3/gnutls_transport_set_ptr2.3 +1 -1
  1494. data/vendor/local/share/man/man3/gnutls_transport_set_pull_function.3 +1 -1
  1495. data/vendor/local/share/man/man3/gnutls_transport_set_pull_timeout_function.3 +2 -2
  1496. data/vendor/local/share/man/man3/gnutls_transport_set_push_function.3 +1 -1
  1497. data/vendor/local/share/man/man3/gnutls_transport_set_vec_push_function.3 +1 -1
  1498. data/vendor/local/share/man/man3/gnutls_url_is_supported.3 +1 -1
  1499. data/vendor/local/share/man/man3/gnutls_verify_stored_pubkey.3 +1 -1
  1500. data/vendor/local/share/man/man3/gnutls_x509_crl_check_issuer.3 +4 -5
  1501. data/vendor/local/share/man/man3/gnutls_x509_crl_deinit.3 +1 -1
  1502. data/vendor/local/share/man/man3/gnutls_x509_crl_export.3 +1 -1
  1503. data/vendor/local/share/man/man3/gnutls_x509_crl_export2.3 +1 -1
  1504. data/vendor/local/share/man/man3/gnutls_x509_crl_get_authority_key_gn_serial.3 +1 -1
  1505. data/vendor/local/share/man/man3/gnutls_x509_crl_get_authority_key_id.3 +1 -1
  1506. data/vendor/local/share/man/man3/gnutls_x509_crl_get_crt_count.3 +1 -1
  1507. data/vendor/local/share/man/man3/gnutls_x509_crl_get_crt_serial.3 +1 -1
  1508. data/vendor/local/share/man/man3/gnutls_x509_crl_get_dn_oid.3 +1 -1
  1509. data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_data.3 +1 -1
  1510. data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_info.3 +1 -1
  1511. data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_oid.3 +1 -1
  1512. data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn.3 +1 -1
  1513. data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn2.3 +52 -0
  1514. data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn_by_oid.3 +1 -1
  1515. data/vendor/local/share/man/man3/gnutls_x509_crl_get_next_update.3 +1 -1
  1516. data/vendor/local/share/man/man3/gnutls_x509_crl_get_number.3 +1 -1
  1517. data/vendor/local/share/man/man3/gnutls_x509_crl_get_raw_issuer_dn.3 +1 -1
  1518. data/vendor/local/share/man/man3/gnutls_x509_crl_get_signature.3 +1 -1
  1519. data/vendor/local/share/man/man3/gnutls_x509_crl_get_signature_algorithm.3 +1 -1
  1520. data/vendor/local/share/man/man3/gnutls_x509_crl_get_this_update.3 +1 -1
  1521. data/vendor/local/share/man/man3/gnutls_x509_crl_get_version.3 +1 -1
  1522. data/vendor/local/share/man/man3/gnutls_x509_crl_import.3 +1 -1
  1523. data/vendor/local/share/man/man3/gnutls_x509_crl_init.3 +1 -1
  1524. data/vendor/local/share/man/man3/gnutls_x509_crl_list_import.3 +1 -1
  1525. data/vendor/local/share/man/man3/gnutls_x509_crl_list_import2.3 +1 -1
  1526. data/vendor/local/share/man/man3/gnutls_x509_crl_print.3 +1 -1
  1527. data/vendor/local/share/man/man3/gnutls_x509_crl_privkey_sign.3 +1 -1
  1528. data/vendor/local/share/man/man3/gnutls_x509_crl_set_authority_key_id.3 +1 -1
  1529. data/vendor/local/share/man/man3/gnutls_x509_crl_set_crt.3 +1 -1
  1530. data/vendor/local/share/man/man3/gnutls_x509_crl_set_crt_serial.3 +1 -1
  1531. data/vendor/local/share/man/man3/gnutls_x509_crl_set_next_update.3 +1 -1
  1532. data/vendor/local/share/man/man3/gnutls_x509_crl_set_number.3 +1 -1
  1533. data/vendor/local/share/man/man3/gnutls_x509_crl_set_this_update.3 +1 -1
  1534. data/vendor/local/share/man/man3/gnutls_x509_crl_set_version.3 +1 -1
  1535. data/vendor/local/share/man/man3/gnutls_x509_crl_sign.3 +1 -1
  1536. data/vendor/local/share/man/man3/gnutls_x509_crl_sign2.3 +1 -1
  1537. data/vendor/local/share/man/man3/gnutls_x509_crl_verify.3 +9 -5
  1538. data/vendor/local/share/man/man3/gnutls_x509_crq_deinit.3 +1 -1
  1539. data/vendor/local/share/man/man3/gnutls_x509_crq_export.3 +1 -1
  1540. data/vendor/local/share/man/man3/gnutls_x509_crq_export2.3 +1 -1
  1541. data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_by_oid.3 +8 -5
  1542. data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_data.3 +2 -2
  1543. data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_info.3 +2 -2
  1544. data/vendor/local/share/man/man3/gnutls_x509_crq_get_basic_constraints.3 +1 -1
  1545. data/vendor/local/share/man/man3/gnutls_x509_crq_get_challenge_password.3 +3 -3
  1546. data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn.3 +4 -4
  1547. data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn2.3 +52 -0
  1548. data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn_by_oid.3 +6 -6
  1549. data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn_oid.3 +2 -2
  1550. data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_by_oid.3 +5 -5
  1551. data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_data.3 +2 -2
  1552. data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_info.3 +2 -2
  1553. data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_id.3 +1 -1
  1554. data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_purpose_oid.3 +1 -1
  1555. data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_rsa_raw.3 +1 -1
  1556. data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_usage.3 +1 -1
  1557. data/vendor/local/share/man/man3/gnutls_x509_crq_get_pk_algorithm.3 +1 -1
  1558. data/vendor/local/share/man/man3/gnutls_x509_crq_get_private_key_usage_period.3 +1 -1
  1559. data/vendor/local/share/man/man3/gnutls_x509_crq_get_subject_alt_name.3 +1 -1
  1560. data/vendor/local/share/man/man3/gnutls_x509_crq_get_subject_alt_othername_oid.3 +1 -1
  1561. data/vendor/local/share/man/man3/gnutls_x509_crq_get_version.3 +1 -1
  1562. data/vendor/local/share/man/man3/gnutls_x509_crq_import.3 +1 -1
  1563. data/vendor/local/share/man/man3/gnutls_x509_crq_init.3 +1 -1
  1564. data/vendor/local/share/man/man3/gnutls_x509_crq_print.3 +1 -1
  1565. data/vendor/local/share/man/man3/gnutls_x509_crq_privkey_sign.3 +1 -1
  1566. data/vendor/local/share/man/man3/gnutls_x509_crq_set_attribute_by_oid.3 +8 -5
  1567. data/vendor/local/share/man/man3/gnutls_x509_crq_set_basic_constraints.3 +1 -1
  1568. data/vendor/local/share/man/man3/gnutls_x509_crq_set_challenge_password.3 +1 -1
  1569. data/vendor/local/share/man/man3/gnutls_x509_crq_set_dn.3 +50 -0
  1570. data/vendor/local/share/man/man3/gnutls_x509_crq_set_dn_by_oid.3 +1 -1
  1571. data/vendor/local/share/man/man3/gnutls_x509_crq_set_key.3 +1 -1
  1572. data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_purpose_oid.3 +1 -1
  1573. data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_rsa_raw.3 +1 -1
  1574. data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_usage.3 +1 -1
  1575. data/vendor/local/share/man/man3/gnutls_x509_crq_set_private_key_usage_period.3 +1 -1
  1576. data/vendor/local/share/man/man3/gnutls_x509_crq_set_pubkey.3 +1 -1
  1577. data/vendor/local/share/man/man3/gnutls_x509_crq_set_subject_alt_name.3 +1 -1
  1578. data/vendor/local/share/man/man3/gnutls_x509_crq_set_version.3 +1 -1
  1579. data/vendor/local/share/man/man3/gnutls_x509_crq_sign.3 +1 -1
  1580. data/vendor/local/share/man/man3/gnutls_x509_crq_sign2.3 +1 -1
  1581. data/vendor/local/share/man/man3/gnutls_x509_crq_verify.3 +1 -1
  1582. data/vendor/local/share/man/man3/gnutls_x509_crt_check_hostname.3 +1 -1
  1583. data/vendor/local/share/man/man3/gnutls_x509_crt_check_issuer.3 +2 -3
  1584. data/vendor/local/share/man/man3/gnutls_x509_crt_check_revocation.3 +1 -1
  1585. data/vendor/local/share/man/man3/gnutls_x509_crt_cpy_crl_dist_points.3 +1 -1
  1586. data/vendor/local/share/man/man3/gnutls_x509_crt_deinit.3 +1 -1
  1587. data/vendor/local/share/man/man3/gnutls_x509_crt_export.3 +1 -1
  1588. data/vendor/local/share/man/man3/gnutls_x509_crt_export2.3 +2 -2
  1589. data/vendor/local/share/man/man3/gnutls_x509_crt_get_activation_time.3 +1 -1
  1590. data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_info_access.3 +1 -1
  1591. data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_key_gn_serial.3 +1 -1
  1592. data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_key_id.3 +1 -1
  1593. data/vendor/local/share/man/man3/gnutls_x509_crt_get_basic_constraints.3 +1 -1
  1594. data/vendor/local/share/man/man3/gnutls_x509_crt_get_ca_status.3 +1 -1
  1595. data/vendor/local/share/man/man3/gnutls_x509_crt_get_crl_dist_points.3 +1 -1
  1596. data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn.3 +1 -1
  1597. data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn2.3 +52 -0
  1598. data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn_by_oid.3 +1 -1
  1599. data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn_oid.3 +1 -1
  1600. data/vendor/local/share/man/man3/gnutls_x509_crt_get_expiration_time.3 +1 -1
  1601. data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_by_oid.3 +1 -1
  1602. data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_data.3 +1 -1
  1603. data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_info.3 +1 -1
  1604. data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_oid.3 +1 -1
  1605. data/vendor/local/share/man/man3/gnutls_x509_crt_get_fingerprint.3 +1 -1
  1606. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer.3 +1 -1
  1607. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_name.3 +1 -1
  1608. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_name2.3 +1 -1
  1609. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_othername_oid.3 +1 -1
  1610. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn.3 +1 -1
  1611. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn2.3 +52 -0
  1612. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn_by_oid.3 +1 -1
  1613. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn_oid.3 +1 -1
  1614. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_unique_id.3 +1 -1
  1615. data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_id.3 +1 -1
  1616. data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_purpose_oid.3 +1 -1
  1617. data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_usage.3 +1 -1
  1618. data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_algorithm.3 +1 -1
  1619. data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_dsa_raw.3 +1 -1
  1620. data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_rsa_raw.3 +1 -1
  1621. data/vendor/local/share/man/man3/gnutls_x509_crt_get_policy.3 +1 -1
  1622. data/vendor/local/share/man/man3/gnutls_x509_crt_get_preferred_hash_algorithm.3 +1 -1
  1623. data/vendor/local/share/man/man3/gnutls_x509_crt_get_private_key_usage_period.3 +1 -1
  1624. data/vendor/local/share/man/man3/gnutls_x509_crt_get_proxy.3 +1 -1
  1625. data/vendor/local/share/man/man3/gnutls_x509_crt_get_raw_dn.3 +3 -3
  1626. data/vendor/local/share/man/man3/gnutls_x509_crt_get_raw_issuer_dn.3 +3 -3
  1627. data/vendor/local/share/man/man3/gnutls_x509_crt_get_serial.3 +1 -1
  1628. data/vendor/local/share/man/man3/gnutls_x509_crt_get_signature.3 +1 -1
  1629. data/vendor/local/share/man/man3/gnutls_x509_crt_get_signature_algorithm.3 +1 -1
  1630. data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject.3 +1 -1
  1631. data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_name.3 +1 -1
  1632. data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_name2.3 +1 -1
  1633. data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_othername_oid.3 +1 -1
  1634. data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_key_id.3 +1 -1
  1635. data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_unique_id.3 +1 -1
  1636. data/vendor/local/share/man/man3/gnutls_x509_crt_get_verify_algorithm.3 +1 -1
  1637. data/vendor/local/share/man/man3/gnutls_x509_crt_get_version.3 +1 -1
  1638. data/vendor/local/share/man/man3/gnutls_x509_crt_import.3 +1 -1
  1639. data/vendor/local/share/man/man3/gnutls_x509_crt_import_pkcs11.3 +1 -1
  1640. data/vendor/local/share/man/man3/gnutls_x509_crt_import_pkcs11_url.3 +1 -1
  1641. data/vendor/local/share/man/man3/gnutls_x509_crt_init.3 +1 -1
  1642. data/vendor/local/share/man/man3/gnutls_x509_crt_list_import.3 +1 -1
  1643. data/vendor/local/share/man/man3/gnutls_x509_crt_list_import2.3 +1 -1
  1644. data/vendor/local/share/man/man3/gnutls_x509_crt_list_import_pkcs11.3 +1 -1
  1645. data/vendor/local/share/man/man3/gnutls_x509_crt_list_verify.3 +1 -1
  1646. data/vendor/local/share/man/man3/gnutls_x509_crt_print.3 +1 -1
  1647. data/vendor/local/share/man/man3/gnutls_x509_crt_privkey_sign.3 +1 -1
  1648. data/vendor/local/share/man/man3/gnutls_x509_crt_set_activation_time.3 +1 -1
  1649. data/vendor/local/share/man/man3/gnutls_x509_crt_set_authority_info_access.3 +1 -1
  1650. data/vendor/local/share/man/man3/gnutls_x509_crt_set_authority_key_id.3 +2 -2
  1651. data/vendor/local/share/man/man3/gnutls_x509_crt_set_basic_constraints.3 +1 -1
  1652. data/vendor/local/share/man/man3/gnutls_x509_crt_set_ca_status.3 +1 -1
  1653. data/vendor/local/share/man/man3/gnutls_x509_crt_set_crl_dist_points.3 +1 -1
  1654. data/vendor/local/share/man/man3/gnutls_x509_crt_set_crl_dist_points2.3 +1 -1
  1655. data/vendor/local/share/man/man3/gnutls_x509_crt_set_crq.3 +1 -1
  1656. data/vendor/local/share/man/man3/gnutls_x509_crt_set_crq_extensions.3 +1 -1
  1657. data/vendor/local/share/man/man3/gnutls_x509_crt_set_dn.3 +50 -0
  1658. data/vendor/local/share/man/man3/gnutls_x509_crt_set_dn_by_oid.3 +1 -1
  1659. data/vendor/local/share/man/man3/gnutls_x509_crt_set_expiration_time.3 +1 -1
  1660. data/vendor/local/share/man/man3/gnutls_x509_crt_set_extension_by_oid.3 +1 -1
  1661. data/vendor/local/share/man/man3/gnutls_x509_crt_set_issuer_dn.3 +50 -0
  1662. data/vendor/local/share/man/man3/gnutls_x509_crt_set_issuer_dn_by_oid.3 +1 -1
  1663. data/vendor/local/share/man/man3/gnutls_x509_crt_set_key.3 +1 -1
  1664. data/vendor/local/share/man/man3/gnutls_x509_crt_set_key_purpose_oid.3 +1 -1
  1665. data/vendor/local/share/man/man3/gnutls_x509_crt_set_key_usage.3 +1 -1
  1666. data/vendor/local/share/man/man3/gnutls_x509_crt_set_pin_function.3 +1 -1
  1667. data/vendor/local/share/man/man3/gnutls_x509_crt_set_policy.3 +1 -1
  1668. data/vendor/local/share/man/man3/gnutls_x509_crt_set_private_key_usage_period.3 +1 -1
  1669. data/vendor/local/share/man/man3/gnutls_x509_crt_set_proxy.3 +1 -1
  1670. data/vendor/local/share/man/man3/gnutls_x509_crt_set_proxy_dn.3 +1 -1
  1671. data/vendor/local/share/man/man3/gnutls_x509_crt_set_pubkey.3 +1 -1
  1672. data/vendor/local/share/man/man3/gnutls_x509_crt_set_serial.3 +6 -4
  1673. data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_alt_name.3 +1 -1
  1674. data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_alternative_name.3 +1 -1
  1675. data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_key_id.3 +2 -2
  1676. data/vendor/local/share/man/man3/gnutls_x509_crt_set_version.3 +1 -1
  1677. data/vendor/local/share/man/man3/gnutls_x509_crt_sign.3 +1 -1
  1678. data/vendor/local/share/man/man3/gnutls_x509_crt_sign2.3 +1 -1
  1679. data/vendor/local/share/man/man3/gnutls_x509_crt_verify.3 +3 -2
  1680. data/vendor/local/share/man/man3/gnutls_x509_crt_verify_data.3 +3 -2
  1681. data/vendor/local/share/man/man3/gnutls_x509_crt_verify_hash.3 +3 -2
  1682. data/vendor/local/share/man/man3/gnutls_x509_dn_deinit.3 +1 -1
  1683. data/vendor/local/share/man/man3/gnutls_x509_dn_export.3 +1 -1
  1684. data/vendor/local/share/man/man3/gnutls_x509_dn_export2.3 +3 -1
  1685. data/vendor/local/share/man/man3/gnutls_x509_dn_get_rdn_ava.3 +7 -5
  1686. data/vendor/local/share/man/man3/gnutls_x509_dn_import.3 +1 -1
  1687. data/vendor/local/share/man/man3/gnutls_x509_dn_init.3 +1 -1
  1688. data/vendor/local/share/man/man3/gnutls_x509_dn_oid_known.3 +1 -1
  1689. data/vendor/local/share/man/man3/gnutls_x509_dn_oid_name.3 +1 -1
  1690. data/vendor/local/share/man/man3/gnutls_x509_policy_release.3 +1 -1
  1691. data/vendor/local/share/man/man3/gnutls_x509_privkey_cpy.3 +1 -1
  1692. data/vendor/local/share/man/man3/gnutls_x509_privkey_deinit.3 +1 -1
  1693. data/vendor/local/share/man/man3/gnutls_x509_privkey_export.3 +1 -1
  1694. data/vendor/local/share/man/man3/gnutls_x509_privkey_export2.3 +1 -1
  1695. data/vendor/local/share/man/man3/gnutls_x509_privkey_export2_pkcs8.3 +1 -1
  1696. data/vendor/local/share/man/man3/gnutls_x509_privkey_export_dsa_raw.3 +1 -1
  1697. data/vendor/local/share/man/man3/gnutls_x509_privkey_export_ecc_raw.3 +1 -1
  1698. data/vendor/local/share/man/man3/gnutls_x509_privkey_export_pkcs8.3 +1 -1
  1699. data/vendor/local/share/man/man3/gnutls_x509_privkey_export_rsa_raw.3 +1 -1
  1700. data/vendor/local/share/man/man3/gnutls_x509_privkey_export_rsa_raw2.3 +1 -1
  1701. data/vendor/local/share/man/man3/gnutls_x509_privkey_fix.3 +1 -1
  1702. data/vendor/local/share/man/man3/gnutls_x509_privkey_generate.3 +1 -1
  1703. data/vendor/local/share/man/man3/gnutls_x509_privkey_get_key_id.3 +1 -1
  1704. data/vendor/local/share/man/man3/gnutls_x509_privkey_get_pk_algorithm.3 +1 -1
  1705. data/vendor/local/share/man/man3/gnutls_x509_privkey_get_pk_algorithm2.3 +1 -1
  1706. data/vendor/local/share/man/man3/gnutls_x509_privkey_import.3 +1 -1
  1707. data/vendor/local/share/man/man3/gnutls_x509_privkey_import2.3 +3 -3
  1708. data/vendor/local/share/man/man3/gnutls_x509_privkey_import_dsa_raw.3 +1 -1
  1709. data/vendor/local/share/man/man3/gnutls_x509_privkey_import_ecc_raw.3 +1 -1
  1710. data/vendor/local/share/man/man3/gnutls_x509_privkey_import_openssl.3 +1 -1
  1711. data/vendor/local/share/man/man3/gnutls_x509_privkey_import_pkcs8.3 +1 -1
  1712. data/vendor/local/share/man/man3/gnutls_x509_privkey_import_rsa_raw.3 +1 -1
  1713. data/vendor/local/share/man/man3/gnutls_x509_privkey_import_rsa_raw2.3 +1 -1
  1714. data/vendor/local/share/man/man3/gnutls_x509_privkey_init.3 +1 -1
  1715. data/vendor/local/share/man/man3/gnutls_x509_privkey_sec_param.3 +1 -1
  1716. data/vendor/local/share/man/man3/gnutls_x509_privkey_sign_data.3 +1 -1
  1717. data/vendor/local/share/man/man3/gnutls_x509_privkey_sign_hash.3 +1 -1
  1718. data/vendor/local/share/man/man3/gnutls_x509_privkey_verify_params.3 +1 -1
  1719. data/vendor/local/share/man/man3/gnutls_x509_rdn_get.3 +4 -4
  1720. data/vendor/local/share/man/man3/gnutls_x509_rdn_get_by_oid.3 +4 -4
  1721. data/vendor/local/share/man/man3/gnutls_x509_rdn_get_oid.3 +4 -4
  1722. data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_cas.3 +1 -1
  1723. data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_crls.3 +1 -1
  1724. data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_named_crt.3 +1 -1
  1725. data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_system_trust.3 +1 -1
  1726. data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_trust_file.3 +1 -1
  1727. data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_trust_mem.3 +1 -1
  1728. data/vendor/local/share/man/man3/gnutls_x509_trust_list_deinit.3 +1 -1
  1729. data/vendor/local/share/man/man3/gnutls_x509_trust_list_get_issuer.3 +1 -1
  1730. data/vendor/local/share/man/man3/gnutls_x509_trust_list_init.3 +1 -1
  1731. data/vendor/local/share/man/man3/gnutls_x509_trust_list_remove_cas.3 +51 -0
  1732. data/vendor/local/share/man/man3/gnutls_x509_trust_list_remove_trust_file.3 +52 -0
  1733. data/vendor/local/share/man/man3/gnutls_x509_trust_list_remove_trust_mem.3 +51 -0
  1734. data/vendor/local/share/man/man3/gnutls_x509_trust_list_verify_crt.3 +1 -1
  1735. data/vendor/local/share/man/man3/gnutls_x509_trust_list_verify_named_crt.3 +1 -1
  1736. metadata +76 -36
  1737. data/ext/glib2/rbglib_completion.c +0 -195
  1738. data/sample/completion.rb +0 -45
  1739. data/vendor/local/lib/gdbus-2.0/codegen/__init__.pyc +0 -0
  1740. data/vendor/local/lib/gdbus-2.0/codegen/__init__.pyo +0 -0
  1741. data/vendor/local/lib/gdbus-2.0/codegen/codegen_docbook.pyc +0 -0
  1742. data/vendor/local/lib/gdbus-2.0/codegen/codegen_docbook.pyo +0 -0
  1743. data/vendor/local/lib/gdbus-2.0/codegen/config.pyc +0 -0
  1744. data/vendor/local/lib/gdbus-2.0/codegen/config.pyo +0 -0
  1745. data/vendor/local/lib/gdbus-2.0/codegen/utils.pyc +0 -0
  1746. data/vendor/local/lib/gdbus-2.0/codegen/utils.pyo +0 -0
  1747. data/vendor/local/lib/gio-2.0.def +0 -1604
  1748. data/vendor/local/lib/glib-2.0.def +0 -1603
  1749. data/vendor/local/lib/gmodule-2.0.def +0 -11
  1750. data/vendor/local/lib/gobject-2.0.def +0 -417
  1751. data/vendor/local/lib/pkgconfig/gnutls-dane.pc +0 -24
  1752. data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +0 -162
@@ -1,9 +1,9 @@
1
1
  This is gnutls.info, produced by makeinfo version 4.13 from gnutls.texi.
2
2
 
3
- This manual is last updated 17 November 2012 for version 3.1.5 of
4
- GnuTLS.
3
+ This manual is last updated 21 March 2013 for version 3.1.10 of GnuTLS.
5
4
 
6
- Copyright (C) 2001-2012 Free Software Foundation, Inc.
5
+ Copyright (C) 2001-2013 Free Software Foundation, Inc.\\ Copyright (C)
6
+ 2001-2013 Nikos Mavrogiannopoulos
7
7
 
8
8
  Permission is granted to copy, distribute and/or modify this
9
9
  document under the terms of the GNU Free Documentation License,
@@ -28,9 +28,118 @@ START-INFO-DIR-ENTRY
28
28
  END-INFO-DIR-ENTRY
29
29
 
30
30
  
31
- File: gnutls.info, Node: Data transfer and termination, Next: Handling alerts, Prev: TLS handshake, Up: How to use GnuTLS in applications
31
+ File: gnutls.info, Node: DTLS sessions, Prev: Asynchronous operation, Up: Setting up the transport layer
32
32
 
33
- 8.7 Data transfer and termination
33
+ 6.5.2 DTLS sessions
34
+ -------------------
35
+
36
+ Because datagram TLS can operate over connections where the peer of a
37
+ server cannot be reliably verified, functionality is available to
38
+ prevent denial of service attacks. GnuTLS requires a server to generate
39
+ a secret key that is used to sign a cookie(1). That cookie is sent to
40
+ the client using *note gnutls_dtls_cookie_send::, and the client must
41
+ reply using the correct cookie. The server side should verify the
42
+ initial message sent by client using *note gnutls_dtls_cookie_verify::.
43
+ If successful the session should be initialized and associated with the
44
+ cookie using *note gnutls_dtls_prestate_set::, before proceeding to the
45
+ handshake.
46
+
47
+ `INT *note gnutls_key_generate:: (gnutls_datum_t * KEY, unsigned int KEY_SIZE)'
48
+
49
+ `INT *note gnutls_dtls_cookie_send:: (gnutls_datum_t* KEY, void* CLIENT_DATA, size_t CLIENT_DATA_SIZE, gnutls_dtls_prestate_st* PRESTATE, gnutls_transport_ptr_t PTR, gnutls_push_func PUSH_FUNC)'
50
+
51
+ `INT *note gnutls_dtls_cookie_verify:: (gnutls_datum_t* KEY, void* CLIENT_DATA, size_t CLIENT_DATA_SIZE, void* _MSG, size_t MSG_SIZE, gnutls_dtls_prestate_st* PRESTATE)'
52
+
53
+ `VOID *note gnutls_dtls_prestate_set:: (gnutls_session_t SESSION, gnutls_dtls_prestate_st* PRESTATE)'
54
+
55
+ Note that the above apply to server side only and they are not
56
+ mandatory to be used. Not using them, however, allows denial of service
57
+ attacks. The client side cookie handling is part of *note
58
+ gnutls_handshake::.
59
+
60
+ Datagrams are typically restricted by a maximum transfer unit (MTU).
61
+ For that both client and server side should set the correct maximum
62
+ transfer unit for the layer underneath GnuTLS. This will allow proper
63
+ fragmentation of DTLS messages and prevent messages from being silently
64
+ discarded by the transport layer. The "correct" maximum transfer unit
65
+ can be obtained through a path MTU discovery mechanism [_RFC4821_].
66
+
67
+ `VOID *note gnutls_dtls_set_mtu:: (gnutls_session_t SESSION, unsigned int MTU)'
68
+
69
+ `UNSIGNED INT *note gnutls_dtls_get_mtu:: (gnutls_session_t SESSION)'
70
+
71
+ `UNSIGNED INT *note gnutls_dtls_get_data_mtu:: (gnutls_session_t SESSION)'
72
+
73
+ ---------- Footnotes ----------
74
+
75
+ (1) A key of 128 bits or 16 bytes should be sufficient for this purpose.
76
+
77
+ 
78
+ File: gnutls.info, Node: TLS handshake, Next: Data transfer and termination, Prev: Setting up the transport layer, Up: How to use GnuTLS in applications
79
+
80
+ 6.6 TLS handshake
81
+ =================
82
+
83
+ Once a session has been initialized and a network connection has been
84
+ set up, TLS and DTLS protocols perform a handshake. The handshake is
85
+ the actual key exchange.
86
+
87
+ -- Function: int gnutls_handshake (gnutls_session_t SESSION)
88
+ SESSION: is a `gnutls_session_t' structure.
89
+
90
+ This function does the handshake of the TLS/SSL protocol, and
91
+ initializes the TLS connection.
92
+
93
+ This function will fail if any problem is encountered, and will
94
+ return a negative error code. In case of a client, if the client
95
+ has asked to resume a session, but the server couldn't, then a
96
+ full handshake will be performed.
97
+
98
+ The non-fatal errors such as `GNUTLS_E_AGAIN' and
99
+ `GNUTLS_E_INTERRUPTED' interrupt the handshake procedure, which
100
+ should be resumed later. Call this function again, until it
101
+ returns 0; cf. `gnutls_record_get_direction()' and
102
+ `gnutls_error_is_fatal()' .
103
+
104
+ If this function is called by a server after a rehandshake request
105
+ then `GNUTLS_E_GOT_APPLICATION_DATA' or
106
+ `GNUTLS_E_WARNING_ALERT_RECEIVED' may be returned. Note that
107
+ these are non fatal errors, only in the specific case of a
108
+ rehandshake. Their meaning is that the client rejected the
109
+ rehandshake request or in the case of
110
+ `GNUTLS_E_GOT_APPLICATION_DATA' it might also mean that some data
111
+ were pending.
112
+
113
+ *Returns:* `GNUTLS_E_SUCCESS' on success, otherwise a negative
114
+ error code.
115
+
116
+ -- Function: void gnutls_handshake_set_timeout (gnutls_session_t
117
+ SESSION, unsigned int MS)
118
+ SESSION: is a `gnutls_session_t' structure.
119
+
120
+ MS: is a timeout value in milliseconds
121
+
122
+ This function sets the timeout for the handshake process to the
123
+ provided value. Use an `ms' value of zero to disable timeout.
124
+
125
+ Note that in order for the timeout to be enforced
126
+ `gnutls_transport_set_pull_timeout_function()' must be set (it is
127
+ set by default in most systems).
128
+
129
+ The handshake process doesn't ensure the verification of the peer's
130
+ identity. When certificates are in use, this can be done, either after
131
+ the handshake is complete, or during the handshake if *note
132
+ gnutls_certificate_set_verify_function:: has been used. In both cases
133
+ the *note gnutls_certificate_verify_peers2:: function can be used to
134
+ verify the peer's certificate (see *note Certificate authentication::
135
+ for more information).
136
+
137
+ `INT *note gnutls_certificate_verify_peers2:: (gnutls_session_t SESSION, unsigned int * STATUS)'
138
+
139
+ 
140
+ File: gnutls.info, Node: Data transfer and termination, Next: Buffered data transfer, Prev: TLS handshake, Up: How to use GnuTLS in applications
141
+
142
+ 6.7 Data transfer and termination
34
143
  =================================
35
144
 
36
145
  Once the handshake is complete and peer's identity has been verified
@@ -211,9 +320,47 @@ can be deinitialized with the *note gnutls_deinit:: function.
211
320
  database if the session was terminated abnormally.
212
321
 
213
322
  
214
- File: gnutls.info, Node: Handling alerts, Next: Priority Strings, Prev: Data transfer and termination, Up: How to use GnuTLS in applications
323
+ File: gnutls.info, Node: Buffered data transfer, Next: Handling alerts, Prev: Data transfer and termination, Up: How to use GnuTLS in applications
324
+
325
+ 6.8 Buffered data transfer
326
+ ==========================
215
327
 
216
- 8.8 Handling alerts
328
+ Although *note gnutls_record_send:: is sufficient to transmit data to
329
+ the peer, when many small chunks of data are to be transmitted it is
330
+ inefficient and wastes bandwidth due to the TLS record overhead. In
331
+ that case it is preferrable to combine the small chunks before
332
+ transmission. The following functions provide that functionality.
333
+
334
+ -- Function: void gnutls_record_cork (gnutls_session_t SESSION)
335
+ SESSION: is a `gnutls_session_t' structure.
336
+
337
+ If called `gnutls_record_send()' will no longer send partial
338
+ records. All queued records will be sent when `gnutls_uncork()'
339
+ is called, or when the maximum record size is reached.
340
+
341
+ *Since:* 3.1.9
342
+
343
+ -- Function: int gnutls_record_uncork (gnutls_session_t SESSION,
344
+ unsigned int FLAGS)
345
+ SESSION: is a `gnutls_session_t' structure.
346
+
347
+ FLAGS: Could be zero or `GNUTLS_RECORD_WAIT'
348
+
349
+ This resets the effect of `gnutls_cork()' , and flushes any pending
350
+ data. If the `GNUTLS_RECORD_WAIT' flag is specified then this
351
+ function will block until the data is sent or a fatal error occurs
352
+ (i.e., the function will retry on `GNUTLS_E_AGAIN' and
353
+ `GNUTLS_E_INTERRUPTED' ).
354
+
355
+ *Returns:* On success the number of transmitted data is returned,
356
+ or otherwise a negative error code.
357
+
358
+ *Since:* 3.1.9
359
+
360
+ 
361
+ File: gnutls.info, Node: Handling alerts, Next: Priority Strings, Prev: Buffered data transfer, Up: How to use GnuTLS in applications
362
+
363
+ 6.9 Handling alerts
217
364
  ===================
218
365
 
219
366
  During a TLS connection alert messages may be exchanged by the two
@@ -295,8 +442,8 @@ The Alert Protocol::.
295
442
  
296
443
  File: gnutls.info, Node: Priority Strings, Next: Selecting cryptographic key sizes, Prev: Handling alerts, Up: How to use GnuTLS in applications
297
444
 
298
- 8.9 Priority strings
299
- ====================
445
+ 6.10 Priority strings
446
+ =====================
300
447
 
301
448
  In order to specify cipher suite preferences on a TLS session there are
302
449
  priority functions that accept a string specifying the enabled for the
@@ -338,7 +485,7 @@ NONE Means nothing is enabled. This disables even
338
485
  protocols and compression methods. It should be
339
486
  followed by the algorithms to be enabled.
340
487
 
341
- Table 8.2: Supported initial keywords.
488
+ Table 6.2: Supported initial keywords.
342
489
 
343
490
  Unless the initial keyword is "NONE" the defaults (in preference order)
344
491
  are for TLS protocols TLS 1.2, TLS1.1, TLS1.0, SSL3.0; for compression
@@ -404,7 +551,7 @@ Elliptic CURVE-SECP192R1, CURVE-SECP224R1,
404
551
  curves CURVE-SECP256R1, CURVE-SECP384R1,
405
552
  CURVE-SECP521R1. Catch all is CURVE-ALL.
406
553
 
407
- Table 8.3: The supported algorithm keywords in priority strings.
554
+ Table 6.3: The supported algorithm keywords in priority strings.
408
555
 
409
556
  Note that the DHE key exchange methods are generally slower(2) than
410
557
  their elliptic curves counterpart (ECDHE). Moreover the plain
@@ -445,7 +592,7 @@ Keyword Description
445
592
  version record version in
446
593
  client hello.
447
594
 
448
- Table 8.4: Special priority string keywords.
595
+ Table 6.4: Special priority string keywords.
449
596
 
450
597
  Keyword Description
451
598
  ------------------------------------------------------------------
@@ -499,7 +646,7 @@ Keyword Description
499
646
  the certificate chain.
500
647
  %VERIFY_ALLOW_X509_V1_CA_CRT will allow V1 CAs in chains.
501
648
 
502
- Table 8.5: More priority string keywords.
649
+ Table 6.5: More priority string keywords.
503
650
 
504
651
  Finally the ciphersuites enabled by any priority string can be listed
505
652
  using the `gnutls-cli' application (see *note gnutls-cli Invocation::),
@@ -534,7 +681,7 @@ key sizes:: for the acceptable security levels.
534
681
  
535
682
  File: gnutls.info, Node: Selecting cryptographic key sizes, Next: Advanced topics, Prev: Priority Strings, Up: How to use GnuTLS in applications
536
683
 
537
- 8.10 Selecting cryptographic key sizes
684
+ 6.11 Selecting cryptographic key sizes
538
685
  ======================================
539
686
 
540
687
  Because many algorithms are involved in TLS, it is not easy to set a
@@ -562,7 +709,7 @@ bits and SRP key parameter
562
709
  128 3248 256 `HIGH' Long term protection
563
710
  256 15424 512 `ULTRA' Foreseeable future
564
711
 
565
- Table 8.6: Key sizes and security parameters.
712
+ Table 6.6: Key sizes and security parameters.
566
713
 
567
714
  The first column provides a security parameter in a number of bits.
568
715
  This gives an indication of the number of combinations to be tried by
@@ -621,6 +768,8 @@ Those functions will convert a human understandable security parameter
621
768
  of `gnutls_sec_param_t' type, to a number of bits suitable for a public
622
769
  key algorithm.
623
770
 
771
+ `CONST CHAR * *note gnutls_sec_param_get_name:: (gnutls_sec_param_t PARAM)'
772
+
624
773
  The following functions will set the minimum acceptable group size for
625
774
  Diffie-Hellman and SRP authentication.
626
775
  `VOID *note gnutls_dh_set_prime_bits:: (gnutls_session_t SESSION, unsigned int BITS)'
@@ -630,7 +779,7 @@ Diffie-Hellman and SRP authentication.
630
779
  
631
780
  File: gnutls.info, Node: Advanced topics, Prev: Selecting cryptographic key sizes, Up: How to use GnuTLS in applications
632
781
 
633
- 8.11 Advanced topics
782
+ 6.12 Advanced topics
634
783
  ====================
635
784
 
636
785
  * Menu:
@@ -646,7 +795,7 @@ File: gnutls.info, Node: Advanced topics, Prev: Selecting cryptographic key si
646
795
  
647
796
  File: gnutls.info, Node: Session resumption, Next: Certificate verification, Up: Advanced topics
648
797
 
649
- 8.11.1 Session resumption
798
+ 6.12.1 Session resumption
650
799
  -------------------------
651
800
 
652
801
  Client side
@@ -754,7 +903,7 @@ otherwise.
754
903
  
755
904
  File: gnutls.info, Node: Certificate verification, Next: Parameter generation, Prev: Session resumption, Up: Advanced topics
756
905
 
757
- 8.11.2 Certificate verification
906
+ 6.12.2 Certificate verification
758
907
  -------------------------------
759
908
 
760
909
  In this section the functionality for additional certificate
@@ -762,7 +911,7 @@ verification methods is listed. These methods are intended to be used
762
911
  in addition to normal PKI verification, in order to reduce the risk of
763
912
  a compromised CA being undetected.
764
913
 
765
- 8.11.2.1 Trust on first use
914
+ 6.12.2.1 Trust on first use
766
915
  ...........................
767
916
 
768
917
  The GnuTLS library includes functionlity to use an SSH-like trust on
@@ -902,7 +1051,7 @@ should contain storage and retrieval functions and specified as below.
902
1051
 
903
1052
  `VOID *note gnutls_tdb_set_store_commitment_func:: (gnutls_tdb_t TDB, gnutls_tdb_store_commitment_func CSTORE)'
904
1053
 
905
- 8.11.2.2 DANE verification
1054
+ 6.12.2.2 DANE verification
906
1055
  ..........................
907
1056
 
908
1057
  Since the DANE library is not included in GnuTLS it requires programs
@@ -943,7 +1092,8 @@ below.
943
1092
 
944
1093
  SFLAGS: Flags for the the initialization of `s' (if NULL)
945
1094
 
946
- VFLAGS: Verification flags; should be zero
1095
+ VFLAGS: Verification flags; an OR'ed list of `dane_verify_flags_t'
1096
+ .
947
1097
 
948
1098
  VERIFY: An OR'ed list of `dane_verify_status_t' .
949
1099
 
@@ -954,6 +1104,9 @@ below.
954
1104
  available for the DANE record then the verify flag
955
1105
  `DANE_VERIFY_NO_DNSSEC_DATA' is set.
956
1106
 
1107
+ Note that the CA constraint only applies for the directly
1108
+ certifying CA and does not account for long CA chains.
1109
+
957
1110
  Due to the many possible options of DANE, there is no single threat
958
1111
  model countered. When notifying the user about DANE verification
959
1112
  results it may be better to mention: DANE verification did not
@@ -984,7 +1137,7 @@ by the verify functions to indicate the status of the verification.
984
1137
  `DANE_VERIFY_NO_DANE_INFO'
985
1138
  No DANE data were found in the DNS record.
986
1139
 
987
- Figure 8.2: The DANE verification status flags.
1140
+ Figure 6.2: The DANE verification status flags.
988
1141
 
989
1142
  In order to generate a DANE TLSA entry to use in a DNS server you may
990
1143
  use danetool (see *note danetool Invocation::).
@@ -992,7 +1145,7 @@ use danetool (see *note danetool Invocation::).
992
1145
  
993
1146
  File: gnutls.info, Node: Parameter generation, Next: Keying Material Exporters, Prev: Certificate verification, Up: Advanced topics
994
1147
 
995
- 8.11.3 Parameter generation
1148
+ 6.12.3 Parameter generation
996
1149
  ---------------------------
997
1150
 
998
1151
  Several TLS ciphersuites require additional parameters that need to be
@@ -1062,7 +1215,7 @@ interface is available using a callback function.
1062
1215
  
1063
1216
  File: gnutls.info, Node: Keying Material Exporters, Next: Channel Bindings, Prev: Parameter generation, Up: Advanced topics
1064
1217
 
1065
- 8.11.4 Keying material exporters
1218
+ 6.12.4 Keying material exporters
1066
1219
  --------------------------------
1067
1220
 
1068
1221
  The TLS PRF can be used by other protocols to derive keys based on the
@@ -1087,7 +1240,7 @@ low-level TLS PRF interface called *note gnutls_prf_raw::.
1087
1240
  
1088
1241
  File: gnutls.info, Node: Channel Bindings, Next: Interoperability, Prev: Keying Material Exporters, Up: Advanced topics
1089
1242
 
1090
- 8.11.5 Channel bindings
1243
+ 6.12.5 Channel bindings
1091
1244
  -----------------------
1092
1245
 
1093
1246
  In user authentication protocols (e.g., EAP or SASL mechanisms) it is
@@ -1128,7 +1281,7 @@ Note that it must be run after a successful TLS handshake.
1128
1281
  
1129
1282
  File: gnutls.info, Node: Interoperability, Next: Compatibility with the OpenSSL library, Prev: Channel Bindings, Up: Advanced topics
1130
1283
 
1131
- 8.11.6 Interoperability
1284
+ 6.12.6 Interoperability
1132
1285
  -----------------------
1133
1286
 
1134
1287
  The TLS protocols support many ciphersuites, extensions and version
@@ -1160,7 +1313,7 @@ NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:-CIPHER-ALL:+ARCFOUR-128:%COMPAT
1160
1313
  
1161
1314
  File: gnutls.info, Node: Compatibility with the OpenSSL library, Prev: Interoperability, Up: Advanced topics
1162
1315
 
1163
- 8.11.7 Compatibility with the OpenSSL library
1316
+ 6.12.7 Compatibility with the OpenSSL library
1164
1317
  ---------------------------------------------
1165
1318
 
1166
1319
  To ease GnuTLS' integration with existing applications, a compatibility
@@ -1179,7 +1332,7 @@ compatibility layer include:
1179
1332
  
1180
1333
  File: gnutls.info, Node: GnuTLS application examples, Next: Using GnuTLS as a cryptographic library, Prev: How to use GnuTLS in applications, Up: Top
1181
1334
 
1182
- 9 GnuTLS application examples
1335
+ 7 GnuTLS application examples
1183
1336
  *****************************
1184
1337
 
1185
1338
  In this chapter several examples of real-world use cases are listed.
@@ -1192,11 +1345,12 @@ no error checking.
1192
1345
  * Server examples::
1193
1346
  * OCSP example::
1194
1347
  * Miscellaneous examples::
1348
+ * XSSL examples::
1195
1349
 
1196
1350
  
1197
1351
  File: gnutls.info, Node: Client examples, Next: Server examples, Up: GnuTLS application examples
1198
1352
 
1199
- 9.1 Client examples
1353
+ 7.1 Client examples
1200
1354
  ===================
1201
1355
 
1202
1356
  This section contains examples of TLS and SSL clients, using GnuTLS.
@@ -1222,7 +1376,7 @@ example.
1222
1376
  
1223
1377
  File: gnutls.info, Node: Simple client example with X.509 certificate support, Next: Simple client example with SSH-style certificate verification, Up: Client examples
1224
1378
 
1225
- 9.1.1 Simple client example with X.509 certificate support
1379
+ 7.1.1 Simple client example with X.509 certificate support
1226
1380
  ----------------------------------------------------------
1227
1381
 
1228
1382
  Let's assume now that we want to create a TCP client which communicates
@@ -1245,7 +1399,7 @@ resumption.
1245
1399
  #include "examples.h"
1246
1400
 
1247
1401
  /* A very basic TLS client, with X.509 authentication and server certificate
1248
- * verification. Note that error checking for missing files etc. is missing
1402
+ * verification. Note that error checking for missing files etc. is omitted
1249
1403
  * for simplicity.
1250
1404
  */
1251
1405
 
@@ -1310,7 +1464,7 @@ int main (void)
1310
1464
  */
1311
1465
  sd = tcp_connect ();
1312
1466
 
1313
- gnutls_transport_set_ptr (session, (gnutls_transport_ptr_t) sd);
1467
+ gnutls_transport_set_int (session, sd);
1314
1468
  gnutls_handshake_set_timeout (session, GNUTLS_DEFAULT_HANDSHAKE_TIMEOUT);
1315
1469
 
1316
1470
  /* Perform the TLS handshake
@@ -1329,7 +1483,11 @@ int main (void)
1329
1483
  }
1330
1484
  else
1331
1485
  {
1332
- printf ("- Handshake was completed\n");
1486
+ char* desc;
1487
+
1488
+ desc = gnutls_session_get_desc(session);
1489
+ printf ("- Session info: %s\n", desc);
1490
+ gnutls_free(desc);
1333
1491
  }
1334
1492
 
1335
1493
  gnutls_record_send (session, MSG, strlen (MSG));
@@ -1340,18 +1498,25 @@ int main (void)
1340
1498
  printf ("- Peer has closed the TLS connection\n");
1341
1499
  goto end;
1342
1500
  }
1501
+ else if (ret < 0 && gnutls_error_is_fatal (ret) == 0)
1502
+ {
1503
+ fprintf (stderr, "*** Warning: %s\n", gnutls_strerror (ret));
1504
+ }
1343
1505
  else if (ret < 0)
1344
1506
  {
1345
1507
  fprintf (stderr, "*** Error: %s\n", gnutls_strerror (ret));
1346
1508
  goto end;
1347
1509
  }
1348
1510
 
1349
- printf ("- Received %d bytes: ", ret);
1350
- for (ii = 0; ii < ret; ii++)
1511
+ if (ret > 0)
1351
1512
  {
1352
- fputc (buffer[ii], stdout);
1513
+ printf ("- Received %d bytes: ", ret);
1514
+ for (ii = 0; ii < ret; ii++)
1515
+ {
1516
+ fputc (buffer[ii], stdout);
1517
+ }
1518
+ fputs ("\n", stdout);
1353
1519
  }
1354
- fputs ("\n", stdout);
1355
1520
 
1356
1521
  gnutls_bye (session, GNUTLS_SHUT_RDWR);
1357
1522
 
@@ -1415,7 +1580,7 @@ _verify_certificate_callback (gnutls_session_t session)
1415
1580
  
1416
1581
  File: gnutls.info, Node: Simple client example with SSH-style certificate verification, Next: Simple client example with anonymous authentication, Prev: Simple client example with X.509 certificate support, Up: Client examples
1417
1582
 
1418
- 9.1.2 Simple client example with SSH-style certificate verification
1583
+ 7.1.2 Simple client example with SSH-style certificate verification
1419
1584
  -------------------------------------------------------------------
1420
1585
 
1421
1586
  This is an alternative verification function that will use the X.509
@@ -1539,7 +1704,7 @@ _ssh_verify_certificate_callback (gnutls_session_t session)
1539
1704
  
1540
1705
  File: gnutls.info, Node: Simple client example with anonymous authentication, Next: Simple Datagram TLS client example, Prev: Simple client example with SSH-style certificate verification, Up: Client examples
1541
1706
 
1542
- 9.1.3 Simple client example with anonymous authentication
1707
+ 7.1.3 Simple client example with anonymous authentication
1543
1708
  ---------------------------------------------------------
1544
1709
 
1545
1710
  The simplest client using TLS is the one that doesn't do any
@@ -1605,7 +1770,7 @@ main (void)
1605
1770
  */
1606
1771
  sd = tcp_connect ();
1607
1772
 
1608
- gnutls_transport_set_ptr (session, (gnutls_transport_ptr_t) sd);
1773
+ gnutls_transport_set_int (session, sd);
1609
1774
  gnutls_handshake_set_timeout (session, GNUTLS_DEFAULT_HANDSHAKE_TIMEOUT);
1610
1775
 
1611
1776
  /* Perform the TLS handshake
@@ -1624,7 +1789,11 @@ main (void)
1624
1789
  }
1625
1790
  else
1626
1791
  {
1627
- printf ("- Handshake was completed\n");
1792
+ char* desc;
1793
+
1794
+ desc = gnutls_session_get_desc(session);
1795
+ printf ("- Session info: %s\n", desc);
1796
+ gnutls_free(desc);
1628
1797
  }
1629
1798
 
1630
1799
  gnutls_record_send (session, MSG, strlen (MSG));
@@ -1635,18 +1804,25 @@ main (void)
1635
1804
  printf ("- Peer has closed the TLS connection\n");
1636
1805
  goto end;
1637
1806
  }
1807
+ else if (ret < 0 && gnutls_error_is_fatal (ret) == 0)
1808
+ {
1809
+ fprintf (stderr, "*** Warning: %s\n", gnutls_strerror (ret));
1810
+ }
1638
1811
  else if (ret < 0)
1639
1812
  {
1640
1813
  fprintf (stderr, "*** Error: %s\n", gnutls_strerror (ret));
1641
1814
  goto end;
1642
1815
  }
1643
1816
 
1644
- printf ("- Received %d bytes: ", ret);
1645
- for (ii = 0; ii < ret; ii++)
1817
+ if (ret > 0)
1646
1818
  {
1647
- fputc (buffer[ii], stdout);
1819
+ printf ("- Received %d bytes: ", ret);
1820
+ for (ii = 0; ii < ret; ii++)
1821
+ {
1822
+ fputc (buffer[ii], stdout);
1823
+ }
1824
+ fputs ("\n", stdout);
1648
1825
  }
1649
- fputs ("\n", stdout);
1650
1826
 
1651
1827
  gnutls_bye (session, GNUTLS_SHUT_RDWR);
1652
1828
 
@@ -1666,7 +1842,7 @@ end:
1666
1842
  
1667
1843
  File: gnutls.info, Node: Simple Datagram TLS client example, Next: Obtaining session information, Prev: Simple client example with anonymous authentication, Up: Client examples
1668
1844
 
1669
- 9.1.4 Simple datagram TLS client example
1845
+ 7.1.4 Simple datagram TLS client example
1670
1846
  ----------------------------------------
1671
1847
 
1672
1848
  This is a client that uses UDP to connect to a server. This is the DTLS
@@ -1739,7 +1915,7 @@ main (void)
1739
1915
  /* connect to the peer */
1740
1916
  sd = udp_connect ();
1741
1917
 
1742
- gnutls_transport_set_ptr (session, (gnutls_transport_ptr_t) sd);
1918
+ gnutls_transport_set_int (session, sd);
1743
1919
 
1744
1920
  /* set the connection MTU */
1745
1921
  gnutls_dtls_set_mtu (session, 1000);
@@ -1750,7 +1926,8 @@ main (void)
1750
1926
  {
1751
1927
  ret = gnutls_handshake (session);
1752
1928
  }
1753
- while (ret < 0 && gnutls_error_is_fatal (ret) == 0);
1929
+ while (ret == GNUTLS_E_INTERRUPTED || ret == GNUTLS_E_AGAIN);
1930
+ /* Note that DTLS may also receive GNUTLS_E_LARGE_PACKET */
1754
1931
 
1755
1932
  if (ret < 0)
1756
1933
  {
@@ -1760,7 +1937,11 @@ main (void)
1760
1937
  }
1761
1938
  else
1762
1939
  {
1763
- printf ("- Handshake was completed\n");
1940
+ char* desc;
1941
+
1942
+ desc = gnutls_session_get_desc(session);
1943
+ printf ("- Session info: %s\n", desc);
1944
+ gnutls_free(desc);
1764
1945
  }
1765
1946
 
1766
1947
  gnutls_record_send (session, MSG, strlen (MSG));
@@ -1771,18 +1952,25 @@ main (void)
1771
1952
  printf ("- Peer has closed the TLS connection\n");
1772
1953
  goto end;
1773
1954
  }
1955
+ else if (ret < 0 && gnutls_error_is_fatal (ret) == 0)
1956
+ {
1957
+ fprintf (stderr, "*** Warning: %s\n", gnutls_strerror (ret));
1958
+ }
1774
1959
  else if (ret < 0)
1775
1960
  {
1776
1961
  fprintf (stderr, "*** Error: %s\n", gnutls_strerror (ret));
1777
1962
  goto end;
1778
1963
  }
1779
1964
 
1780
- printf ("- Received %d bytes: ", ret);
1781
- for (ii = 0; ii < ret; ii++)
1965
+ if (ret > 0)
1782
1966
  {
1783
- fputc (buffer[ii], stdout);
1967
+ printf ("- Received %d bytes: ", ret);
1968
+ for (ii = 0; ii < ret; ii++)
1969
+ {
1970
+ fputc (buffer[ii], stdout);
1971
+ }
1972
+ fputs ("\n", stdout);
1784
1973
  }
1785
- fputs ("\n", stdout);
1786
1974
 
1787
1975
  /* It is suggested not to use GNUTLS_SHUT_RDWR in DTLS
1788
1976
  * connections because the peer's closure message might
@@ -1805,7 +1993,7 @@ end:
1805
1993
  
1806
1994
  File: gnutls.info, Node: Obtaining session information, Next: Using a callback to select the certificate to use, Prev: Simple Datagram TLS client example, Up: Client examples
1807
1995
 
1808
- 9.1.5 Obtaining session information
1996
+ 7.1.5 Obtaining session information
1809
1997
  -----------------------------------
1810
1998
 
1811
1999
  Most of the times it is desirable to know the security properties of
@@ -1950,7 +2138,7 @@ print_info (gnutls_session_t session)
1950
2138
  
1951
2139
  File: gnutls.info, Node: Using a callback to select the certificate to use, Next: Verifying a certificate, Prev: Obtaining session information, Up: Client examples
1952
2140
 
1953
- 9.1.6 Using a callback to select the certificate to use
2141
+ 7.1.6 Using a callback to select the certificate to use
1954
2142
  -------------------------------------------------------
1955
2143
 
1956
2144
  There are cases where a client holds several certificate and key pairs,
@@ -2089,7 +2277,7 @@ main (void)
2089
2277
  */
2090
2278
  sd = tcp_connect ();
2091
2279
 
2092
- gnutls_transport_set_ptr (session, (gnutls_transport_ptr_t) sd);
2280
+ gnutls_transport_set_int (session, sd);
2093
2281
 
2094
2282
  /* Perform the TLS handshake
2095
2283
  */
@@ -2103,7 +2291,11 @@ main (void)
2103
2291
  }
2104
2292
  else
2105
2293
  {
2106
- printf ("- Handshake was completed\n");
2294
+ char* desc;
2295
+
2296
+ desc = gnutls_session_get_desc(session);
2297
+ printf ("- Session info: %s\n", desc);
2298
+ gnutls_free(desc);
2107
2299
  }
2108
2300
 
2109
2301
  gnutls_record_send (session, MSG, strlen (MSG));
@@ -2204,7 +2396,7 @@ cert_callback (gnutls_session_t session,
2204
2396
  
2205
2397
  File: gnutls.info, Node: Verifying a certificate, Next: Client using a smart card with TLS, Prev: Using a callback to select the certificate to use, Up: Client examples
2206
2398
 
2207
- 9.1.7 Verifying a certificate
2399
+ 7.1.7 Verifying a certificate
2208
2400
  -----------------------------
2209
2401
 
2210
2402
  An example is listed below which uses the high level verification
@@ -2361,7 +2553,7 @@ print_details_func (gnutls_x509_crt_t cert,
2361
2553
  
2362
2554
  File: gnutls.info, Node: Client using a smart card with TLS, Next: Client with Resume capability example, Prev: Verifying a certificate, Up: Client examples
2363
2555
 
2364
- 9.1.8 Using a smart card with TLS
2556
+ 7.1.8 Using a smart card with TLS
2365
2557
  ---------------------------------
2366
2558
 
2367
2559
  This example will demonstrate how to load keys and certificates from a
@@ -2483,7 +2675,7 @@ main (void)
2483
2675
  */
2484
2676
  sd = tcp_connect ();
2485
2677
 
2486
- gnutls_transport_set_ptr (session, (gnutls_transport_ptr_t) sd);
2678
+ gnutls_transport_set_int (session, sd);
2487
2679
 
2488
2680
  /* Perform the TLS handshake
2489
2681
  */
@@ -2497,7 +2689,11 @@ main (void)
2497
2689
  }
2498
2690
  else
2499
2691
  {
2500
- printf ("- Handshake was completed\n");
2692
+ char* desc;
2693
+
2694
+ desc = gnutls_session_get_desc(session);
2695
+ printf ("- Session info: %s\n", desc);
2696
+ gnutls_free(desc);
2501
2697
  }
2502
2698
 
2503
2699
  gnutls_record_send (session, MSG, strlen (MSG));
@@ -2540,7 +2736,7 @@ end:
2540
2736
  
2541
2737
  File: gnutls.info, Node: Client with Resume capability example, Next: Simple client example with SRP authentication, Prev: Client using a smart card with TLS, Up: Client examples
2542
2738
 
2543
- 9.1.9 Client with resume capability example
2739
+ 7.1.9 Client with resume capability example
2544
2740
  -------------------------------------------
2545
2741
 
2546
2742
  This is a modification of the simple client example. Here we
@@ -2609,7 +2805,7 @@ main (void)
2609
2805
  free (session_data);
2610
2806
  }
2611
2807
 
2612
- gnutls_transport_set_ptr (session, (gnutls_transport_ptr_t) sd);
2808
+ gnutls_transport_set_int (session, sd);
2613
2809
  gnutls_handshake_set_timeout (session, GNUTLS_DEFAULT_HANDSHAKE_TIMEOUT);
2614
2810
 
2615
2811
  /* Perform the TLS handshake
@@ -2667,18 +2863,25 @@ main (void)
2667
2863
  printf ("- Peer has closed the TLS connection\n");
2668
2864
  goto end;
2669
2865
  }
2866
+ else if (ret < 0 && gnutls_error_is_fatal (ret) == 0)
2867
+ {
2868
+ fprintf (stderr, "*** Warning: %s\n", gnutls_strerror (ret));
2869
+ }
2670
2870
  else if (ret < 0)
2671
2871
  {
2672
2872
  fprintf (stderr, "*** Error: %s\n", gnutls_strerror (ret));
2673
2873
  goto end;
2674
2874
  }
2675
2875
 
2676
- printf ("- Received %d bytes: ", ret);
2677
- for (ii = 0; ii < ret; ii++)
2876
+ if (ret > 0)
2678
2877
  {
2679
- fputc (buffer[ii], stdout);
2878
+ printf ("- Received %d bytes: ", ret);
2879
+ for (ii = 0; ii < ret; ii++)
2880
+ {
2881
+ fputc (buffer[ii], stdout);
2882
+ }
2883
+ fputs ("\n", stdout);
2680
2884
  }
2681
- fputs ("\n", stdout);
2682
2885
 
2683
2886
  gnutls_bye (session, GNUTLS_SHUT_RDWR);
2684
2887
 
@@ -2700,7 +2903,7 @@ main (void)
2700
2903
  
2701
2904
  File: gnutls.info, Node: Simple client example with SRP authentication, Next: Simple client example in C++, Prev: Client with Resume capability example, Up: Client examples
2702
2905
 
2703
- 9.1.10 Simple client example with SRP authentication
2906
+ 7.1.10 Simple client example with SRP authentication
2704
2907
  ----------------------------------------------------
2705
2908
 
2706
2909
  The following client is a very simple SRP TLS client which connects to
@@ -2768,7 +2971,7 @@ main (void)
2768
2971
  gnutls_credentials_set (session, GNUTLS_CRD_SRP, srp_cred);
2769
2972
  gnutls_credentials_set (session, GNUTLS_CRD_CERTIFICATE, cert_cred);
2770
2973
 
2771
- gnutls_transport_set_ptr (session, (gnutls_transport_ptr_t) sd);
2974
+ gnutls_transport_set_int (session, sd);
2772
2975
  gnutls_handshake_set_timeout (session, GNUTLS_DEFAULT_HANDSHAKE_TIMEOUT);
2773
2976
 
2774
2977
  /* Perform the TLS handshake
@@ -2787,7 +2990,11 @@ main (void)
2787
2990
  }
2788
2991
  else
2789
2992
  {
2790
- printf ("- Handshake was completed\n");
2993
+ char* desc;
2994
+
2995
+ desc = gnutls_session_get_desc(session);
2996
+ printf ("- Session info: %s\n", desc);
2997
+ gnutls_free(desc);
2791
2998
  }
2792
2999
 
2793
3000
  gnutls_record_send (session, MSG, strlen (MSG));
@@ -2837,7 +3044,7 @@ end:
2837
3044
  
2838
3045
  File: gnutls.info, Node: Simple client example in C++, Next: Helper functions for TCP connections, Prev: Simple client example with SRP authentication, Up: Client examples
2839
3046
 
2840
- 9.1.11 Simple client example using the C++ API
3047
+ 7.1.11 Simple client example using the C++ API
2841
3048
  ----------------------------------------------
2842
3049
 
2843
3050
  The following client is a simple example of a client client utilizing
@@ -2944,7 +3151,7 @@ int main(void)
2944
3151
  
2945
3152
  File: gnutls.info, Node: Helper functions for TCP connections, Next: Helper functions for UDP connections, Prev: Simple client example in C++, Up: Client examples
2946
3153
 
2947
- 9.1.12 Helper functions for TCP connections
3154
+ 7.1.12 Helper functions for TCP connections
2948
3155
  -------------------------------------------
2949
3156
 
2950
3157
  Those helper function abstract away TCP connection handling from the
@@ -3011,7 +3218,7 @@ tcp_close (int sd)
3011
3218
  
3012
3219
  File: gnutls.info, Node: Helper functions for UDP connections, Prev: Helper functions for TCP connections, Up: Client examples
3013
3220
 
3014
- 9.1.13 Helper functions for UDP connections
3221
+ 7.1.13 Helper functions for UDP connections
3015
3222
  -------------------------------------------
3016
3223
 
3017
3224
  The UDP helper functions abstract away UDP connection handling from the
@@ -3087,7 +3294,7 @@ udp_close (int sd)
3087
3294
  
3088
3295
  File: gnutls.info, Node: Server examples, Next: OCSP example, Prev: Client examples, Up: GnuTLS application examples
3089
3296
 
3090
- 9.2 Server examples
3297
+ 7.2 Server examples
3091
3298
  ===================
3092
3299
 
3093
3300
  This section contains examples of TLS and SSL servers, using GnuTLS.
@@ -3103,7 +3310,7 @@ This section contains examples of TLS and SSL servers, using GnuTLS.
3103
3310
  
3104
3311
  File: gnutls.info, Node: Echo server with X.509 authentication, Next: Echo server with OpenPGP authentication, Up: Server examples
3105
3312
 
3106
- 9.2.1 Echo server with X.509 authentication
3313
+ 7.2.1 Echo server with X.509 authentication
3107
3314
  -------------------------------------------
3108
3315
 
3109
3316
  This example is a very simple echo server which supports X.509
@@ -3138,34 +3345,13 @@ authentication.
3138
3345
  #define PORT 5556 /* listen to 5556 port */
3139
3346
 
3140
3347
  /* These are global */
3141
- gnutls_certificate_credentials_t x509_cred;
3142
- gnutls_priority_t priority_cache;
3143
-
3144
- static gnutls_session_t
3145
- initialize_tls_session (void)
3146
- {
3147
- gnutls_session_t session;
3148
-
3149
- gnutls_init (&session, GNUTLS_SERVER);
3150
-
3151
- gnutls_priority_set (session, priority_cache);
3152
-
3153
- gnutls_credentials_set (session, GNUTLS_CRD_CERTIFICATE, x509_cred);
3154
-
3155
- /* We don't request any certificate from the client.
3156
- * If we did we would need to verify it.
3157
- */
3158
- gnutls_certificate_server_set_request (session, GNUTLS_CERT_IGNORE);
3159
-
3160
- return session;
3161
- }
3162
-
3163
3348
  static gnutls_dh_params_t dh_params;
3164
3349
 
3165
3350
  static int
3166
3351
  generate_dh_params (void)
3167
3352
  {
3168
- int bits = gnutls_sec_param_to_pk_bits (GNUTLS_PK_DH, GNUTLS_SEC_PARAM_LOW);
3353
+ unsigned int bits =
3354
+ gnutls_sec_param_to_pk_bits (GNUTLS_PK_DH, GNUTLS_SEC_PARAM_LEGACY);
3169
3355
 
3170
3356
  /* Generate Diffie-Hellman parameters - for use with DHE
3171
3357
  * kx algorithms. When short bit length is used, it might
@@ -3182,6 +3368,8 @@ main (void)
3182
3368
  {
3183
3369
  int listen_sd;
3184
3370
  int sd, ret;
3371
+ gnutls_certificate_credentials_t x509_cred;
3372
+ gnutls_priority_t priority_cache;
3185
3373
  struct sockaddr_in sa_serv;
3186
3374
  struct sockaddr_in sa_cli;
3187
3375
  socklen_t client_len;
@@ -3238,7 +3426,13 @@ main (void)
3238
3426
  client_len = sizeof (sa_cli);
3239
3427
  for (;;)
3240
3428
  {
3241
- session = initialize_tls_session ();
3429
+ gnutls_init (&session, GNUTLS_SERVER);
3430
+ gnutls_priority_set (session, priority_cache);
3431
+ gnutls_credentials_set (session, GNUTLS_CRD_CERTIFICATE, x509_cred);
3432
+ /* We don't request any certificate from the client.
3433
+ * If we did we would need to verify it.
3434
+ */
3435
+ gnutls_certificate_server_set_request (session, GNUTLS_CERT_IGNORE);
3242
3436
 
3243
3437
  sd = accept (listen_sd, (struct sockaddr *) & sa_cli, &client_len);
3244
3438
 
@@ -3246,7 +3440,7 @@ main (void)
3246
3440
  inet_ntop (AF_INET, &sa_cli.sin_addr, topbuf,
3247
3441
  sizeof (topbuf)), ntohs (sa_cli.sin_port));
3248
3442
 
3249
- gnutls_transport_set_ptr (session, (gnutls_transport_ptr_t) sd);
3443
+ gnutls_transport_set_int (session, sd);
3250
3444
 
3251
3445
  do
3252
3446
  {
@@ -3269,7 +3463,6 @@ main (void)
3269
3463
 
3270
3464
  for (;;)
3271
3465
  {
3272
- memset (buffer, 0, MAX_BUF + 1);
3273
3466
  ret = gnutls_record_recv (session, buffer, MAX_BUF);
3274
3467
 
3275
3468
  if (ret == 0)
@@ -3277,6 +3470,10 @@ main (void)
3277
3470
  printf ("\n- Peer has closed the GnuTLS connection\n");
3278
3471
  break;
3279
3472
  }
3473
+ else if (ret < 0 && gnutls_error_is_fatal (ret) == 0)
3474
+ {
3475
+ fprintf (stderr, "*** Warning: %s\n", gnutls_strerror (ret));
3476
+ }
3280
3477
  else if (ret < 0)
3281
3478
  {
3282
3479
  fprintf (stderr, "\n*** Received corrupted "
@@ -3287,7 +3484,7 @@ main (void)
3287
3484
  {
3288
3485
  /* echo data back to the client
3289
3486
  */
3290
- gnutls_record_send (session, buffer, strlen (buffer));
3487
+ gnutls_record_send (session, buffer, ret);
3291
3488
  }
3292
3489
  }
3293
3490
  printf ("\n");
@@ -3313,7 +3510,7 @@ main (void)
3313
3510
  
3314
3511
  File: gnutls.info, Node: Echo server with OpenPGP authentication, Next: Echo server with SRP authentication, Prev: Echo server with X.509 authentication, Up: Server examples
3315
3512
 
3316
- 9.2.2 Echo server with OpenPGP authentication
3513
+ 7.2.2 Echo server with OpenPGP authentication
3317
3514
  ---------------------------------------------
3318
3515
 
3319
3516
  The following example is an echo server which supports OpenPGP key
@@ -3350,15 +3547,15 @@ we separated them to keep these examples as simple as possible.
3350
3547
  #define SOCKET_ERR(err,s) if(err==-1) {perror(s);return(1);}
3351
3548
  #define MAX_BUF 1024
3352
3549
  #define PORT 5556 /* listen to 5556 port */
3353
- #define DH_BITS 1024
3354
3550
 
3355
3551
  /* These are global */
3356
- gnutls_certificate_credentials_t cred;
3357
3552
  gnutls_dh_params_t dh_params;
3358
3553
 
3359
3554
  static int
3360
3555
  generate_dh_params (void)
3361
3556
  {
3557
+ unsigned int bits =
3558
+ gnutls_sec_param_to_pk_bits (GNUTLS_PK_DH, GNUTLS_SEC_PARAM_LEGACY);
3362
3559
 
3363
3560
  /* Generate Diffie-Hellman parameters - for use with DHE
3364
3561
  * kx algorithms. These should be discarded and regenerated
@@ -3366,29 +3563,11 @@ generate_dh_params (void)
3366
3563
  * security requirements.
3367
3564
  */
3368
3565
  gnutls_dh_params_init (&dh_params);
3369
- gnutls_dh_params_generate2 (dh_params, DH_BITS);
3566
+ gnutls_dh_params_generate2 (dh_params, bits);
3370
3567
 
3371
3568
  return 0;
3372
3569
  }
3373
3570
 
3374
- static gnutls_session_t
3375
- initialize_tls_session (void)
3376
- {
3377
- gnutls_session_t session;
3378
-
3379
- gnutls_init (&session, GNUTLS_SERVER);
3380
-
3381
- gnutls_priority_set_direct (session, "NORMAL:+CTYPE-OPENPGP", NULL);
3382
-
3383
- /* request client certificate if any.
3384
- */
3385
- gnutls_certificate_server_set_request (session, GNUTLS_CERT_REQUEST);
3386
-
3387
- gnutls_dh_set_prime_bits (session, DH_BITS);
3388
-
3389
- return session;
3390
- }
3391
-
3392
3571
  int
3393
3572
  main (void)
3394
3573
  {
@@ -3399,6 +3578,7 @@ main (void)
3399
3578
  socklen_t client_len;
3400
3579
  char topbuf[512];
3401
3580
  gnutls_session_t session;
3581
+ gnutls_certificate_credentials_t cred;
3402
3582
  char buffer[MAX_BUF + 1];
3403
3583
  int optval = 1;
3404
3584
  char name[256];
@@ -3443,7 +3623,12 @@ main (void)
3443
3623
  client_len = sizeof (sa_cli);
3444
3624
  for (;;)
3445
3625
  {
3446
- session = initialize_tls_session ();
3626
+ gnutls_init (&session, GNUTLS_SERVER);
3627
+ gnutls_priority_set_direct (session, "NORMAL:+CTYPE-OPENPGP", NULL);
3628
+
3629
+ /* request client certificate if any.
3630
+ */
3631
+ gnutls_certificate_server_set_request (session, GNUTLS_CERT_REQUEST);
3447
3632
 
3448
3633
  sd = accept (listen_sd, (struct sockaddr *) & sa_cli, &client_len);
3449
3634
 
@@ -3451,7 +3636,7 @@ main (void)
3451
3636
  inet_ntop (AF_INET, &sa_cli.sin_addr, topbuf,
3452
3637
  sizeof (topbuf)), ntohs (sa_cli.sin_port));
3453
3638
 
3454
- gnutls_transport_set_ptr (session, (gnutls_transport_ptr_t) sd);
3639
+ gnutls_transport_set_int (session, sd);
3455
3640
  ret = gnutls_handshake (session);
3456
3641
  if (ret < 0)
3457
3642
  {
@@ -3468,7 +3653,6 @@ main (void)
3468
3653
 
3469
3654
  for (;;)
3470
3655
  {
3471
- memset (buffer, 0, MAX_BUF + 1);
3472
3656
  ret = gnutls_record_recv (session, buffer, MAX_BUF);
3473
3657
 
3474
3658
  if (ret == 0)
@@ -3476,6 +3660,10 @@ main (void)
3476
3660
  printf ("\n- Peer has closed the GnuTLS connection\n");
3477
3661
  break;
3478
3662
  }
3663
+ else if (ret < 0 && gnutls_error_is_fatal (ret) == 0)
3664
+ {
3665
+ fprintf (stderr, "*** Warning: %s\n", gnutls_strerror (ret));
3666
+ }
3479
3667
  else if (ret < 0)
3480
3668
  {
3481
3669
  fprintf (stderr, "\n*** Received corrupted "
@@ -3486,7 +3674,7 @@ main (void)
3486
3674
  {
3487
3675
  /* echo data back to the client
3488
3676
  */
3489
- gnutls_record_send (session, buffer, strlen (buffer));
3677
+ gnutls_record_send (session, buffer, ret);
3490
3678
  }
3491
3679
  }
3492
3680
  printf ("\n");
@@ -3511,7 +3699,7 @@ main (void)
3511
3699
  
3512
3700
  File: gnutls.info, Node: Echo server with SRP authentication, Next: Echo server with anonymous authentication, Prev: Echo server with OpenPGP authentication, Up: Server examples
3513
3701
 
3514
- 9.2.3 Echo server with SRP authentication
3702
+ 7.2.3 Echo server with SRP authentication
3515
3703
  -----------------------------------------
3516
3704
 
3517
3705
  This is a server which supports SRP authentication. It is also possible
@@ -3549,31 +3737,6 @@ separate for simplicity.
3549
3737
  #define MAX_BUF 1024
3550
3738
  #define PORT 5556 /* listen to 5556 port */
3551
3739
 
3552
- /* These are global */
3553
- gnutls_srp_server_credentials_t srp_cred;
3554
- gnutls_certificate_credentials_t cert_cred;
3555
-
3556
- static gnutls_session_t
3557
- initialize_tls_session (void)
3558
- {
3559
- gnutls_session_t session;
3560
-
3561
- gnutls_init (&session, GNUTLS_SERVER);
3562
-
3563
- gnutls_priority_set_direct (session, "NORMAL:-KX-ALL:+SRP:+SRP-DSS:+SRP-RSA", NULL);
3564
-
3565
- gnutls_credentials_set (session, GNUTLS_CRD_SRP, srp_cred);
3566
- /* for the certificate authenticated ciphersuites.
3567
- */
3568
- gnutls_credentials_set (session, GNUTLS_CRD_CERTIFICATE, cert_cred);
3569
-
3570
- /* request client certificate if any.
3571
- */
3572
- gnutls_certificate_server_set_request (session, GNUTLS_CERT_IGNORE);
3573
-
3574
- return session;
3575
- }
3576
-
3577
3740
  int
3578
3741
  main (void)
3579
3742
  {
@@ -3584,6 +3747,8 @@ main (void)
3584
3747
  socklen_t client_len;
3585
3748
  char topbuf[512];
3586
3749
  gnutls_session_t session;
3750
+ gnutls_srp_server_credentials_t srp_cred;
3751
+ gnutls_certificate_credentials_t cert_cred;
3587
3752
  char buffer[MAX_BUF + 1];
3588
3753
  int optval = 1;
3589
3754
  char name[256];
@@ -3627,7 +3792,17 @@ main (void)
3627
3792
  client_len = sizeof (sa_cli);
3628
3793
  for (;;)
3629
3794
  {
3630
- session = initialize_tls_session ();
3795
+ gnutls_init (&session, GNUTLS_SERVER);
3796
+ gnutls_priority_set_direct (session,
3797
+ "NORMAL:-KX-ALL:+SRP:+SRP-DSS:+SRP-RSA", NULL);
3798
+ gnutls_credentials_set (session, GNUTLS_CRD_SRP, srp_cred);
3799
+ /* for the certificate authenticated ciphersuites.
3800
+ */
3801
+ gnutls_credentials_set (session, GNUTLS_CRD_CERTIFICATE, cert_cred);
3802
+
3803
+ /* request client certificate if any.
3804
+ */
3805
+ gnutls_certificate_server_set_request (session, GNUTLS_CERT_IGNORE);
3631
3806
 
3632
3807
  sd = accept (listen_sd, (struct sockaddr *) & sa_cli, &client_len);
3633
3808
 
@@ -3635,7 +3810,7 @@ main (void)
3635
3810
  inet_ntop (AF_INET, &sa_cli.sin_addr, topbuf,
3636
3811
  sizeof (topbuf)), ntohs (sa_cli.sin_port));
3637
3812
 
3638
- gnutls_transport_set_ptr (session, (gnutls_transport_ptr_t) sd);
3813
+ gnutls_transport_set_int (session, sd);
3639
3814
 
3640
3815
  do
3641
3816
  {
@@ -3658,7 +3833,6 @@ main (void)
3658
3833
 
3659
3834
  for (;;)
3660
3835
  {
3661
- memset (buffer, 0, MAX_BUF + 1);
3662
3836
  ret = gnutls_record_recv (session, buffer, MAX_BUF);
3663
3837
 
3664
3838
  if (ret == 0)
@@ -3666,6 +3840,10 @@ main (void)
3666
3840
  printf ("\n- Peer has closed the GnuTLS connection\n");
3667
3841
  break;
3668
3842
  }
3843
+ else if (ret < 0 && gnutls_error_is_fatal (ret) == 0)
3844
+ {
3845
+ fprintf (stderr, "*** Warning: %s\n", gnutls_strerror (ret));
3846
+ }
3669
3847
  else if (ret < 0)
3670
3848
  {
3671
3849
  fprintf (stderr, "\n*** Received corrupted "
@@ -3676,7 +3854,7 @@ main (void)
3676
3854
  {
3677
3855
  /* echo data back to the client
3678
3856
  */
3679
- gnutls_record_send (session, buffer, strlen (buffer));
3857
+ gnutls_record_send (session, buffer, ret);
3680
3858
  }
3681
3859
  }
3682
3860
  printf ("\n");
@@ -3701,7 +3879,7 @@ main (void)
3701
3879
  
3702
3880
  File: gnutls.info, Node: Echo server with anonymous authentication, Next: DTLS echo server with X.509 authentication, Prev: Echo server with SRP authentication, Up: Server examples
3703
3881
 
3704
- 9.2.4 Echo server with anonymous authentication
3882
+ 7.2.4 Echo server with anonymous authentication
3705
3883
  -----------------------------------------------
3706
3884
 
3707
3885
  This example server supports anonymous authentication, and could be
@@ -3731,40 +3909,22 @@ used to serve the example client for anonymous authentication.
3731
3909
  #define SOCKET_ERR(err,s) if(err==-1) {perror(s);return(1);}
3732
3910
  #define MAX_BUF 1024
3733
3911
  #define PORT 5556 /* listen to 5556 port */
3734
- #define DH_BITS 1024
3735
3912
 
3736
3913
  /* These are global */
3737
- gnutls_anon_server_credentials_t anoncred;
3738
-
3739
- static gnutls_session_t
3740
- initialize_tls_session (void)
3741
- {
3742
- gnutls_session_t session;
3743
-
3744
- gnutls_init (&session, GNUTLS_SERVER);
3745
-
3746
- gnutls_priority_set_direct (session, "NORMAL:+ANON-ECDH:+ANON-DH", NULL);
3747
-
3748
- gnutls_credentials_set (session, GNUTLS_CRD_ANON, anoncred);
3749
-
3750
- gnutls_dh_set_prime_bits (session, DH_BITS);
3751
-
3752
- return session;
3753
- }
3754
-
3755
3914
  static gnutls_dh_params_t dh_params;
3756
3915
 
3757
3916
  static int
3758
3917
  generate_dh_params (void)
3759
3918
  {
3760
-
3919
+ unsigned int bits =
3920
+ gnutls_sec_param_to_pk_bits (GNUTLS_PK_DH, GNUTLS_SEC_PARAM_LEGACY);
3761
3921
  /* Generate Diffie-Hellman parameters - for use with DHE
3762
3922
  * kx algorithms. These should be discarded and regenerated
3763
3923
  * once a day, once a week or once a month. Depending on the
3764
3924
  * security requirements.
3765
3925
  */
3766
3926
  gnutls_dh_params_init (&dh_params);
3767
- gnutls_dh_params_generate2 (dh_params, DH_BITS);
3927
+ gnutls_dh_params_generate2 (dh_params, bits);
3768
3928
 
3769
3929
  return 0;
3770
3930
  }
@@ -3779,6 +3939,7 @@ main (void)
3779
3939
  socklen_t client_len;
3780
3940
  char topbuf[512];
3781
3941
  gnutls_session_t session;
3942
+ gnutls_anon_server_credentials_t anoncred;
3782
3943
  char buffer[MAX_BUF + 1];
3783
3944
  int optval = 1;
3784
3945
 
@@ -3815,7 +3976,9 @@ main (void)
3815
3976
  client_len = sizeof (sa_cli);
3816
3977
  for (;;)
3817
3978
  {
3818
- session = initialize_tls_session ();
3979
+ gnutls_init (&session, GNUTLS_SERVER);
3980
+ gnutls_priority_set_direct (session, "NORMAL:+ANON-ECDH:+ANON-DH", NULL);
3981
+ gnutls_credentials_set (session, GNUTLS_CRD_ANON, anoncred);
3819
3982
 
3820
3983
  sd = accept (listen_sd, (struct sockaddr *) & sa_cli, &client_len);
3821
3984
 
@@ -3823,7 +3986,7 @@ main (void)
3823
3986
  inet_ntop (AF_INET, &sa_cli.sin_addr, topbuf,
3824
3987
  sizeof (topbuf)), ntohs (sa_cli.sin_port));
3825
3988
 
3826
- gnutls_transport_set_ptr (session, (gnutls_transport_ptr_t) ((ptrdiff_t) sd));
3989
+ gnutls_transport_set_int (session, sd);
3827
3990
 
3828
3991
  do
3829
3992
  {
@@ -3846,7 +4009,6 @@ main (void)
3846
4009
 
3847
4010
  for (;;)
3848
4011
  {
3849
- memset (buffer, 0, MAX_BUF + 1);
3850
4012
  ret = gnutls_record_recv (session, buffer, MAX_BUF);
3851
4013
 
3852
4014
  if (ret == 0)
@@ -3854,6 +4016,10 @@ main (void)
3854
4016
  printf ("\n- Peer has closed the GnuTLS connection\n");
3855
4017
  break;
3856
4018
  }
4019
+ else if (ret < 0 && gnutls_error_is_fatal (ret) == 0)
4020
+ {
4021
+ fprintf (stderr, "*** Warning: %s\n", gnutls_strerror (ret));
4022
+ }
3857
4023
  else if (ret < 0)
3858
4024
  {
3859
4025
  fprintf (stderr, "\n*** Received corrupted "
@@ -3864,7 +4030,7 @@ main (void)
3864
4030
  {
3865
4031
  /* echo data back to the client
3866
4032
  */
3867
- gnutls_record_send (session, buffer, strlen (buffer));
4033
+ gnutls_record_send (session, buffer, ret);
3868
4034
  }
3869
4035
  }
3870
4036
  printf ("\n");
@@ -3889,7 +4055,7 @@ main (void)
3889
4055
  
3890
4056
  File: gnutls.info, Node: DTLS echo server with X.509 authentication, Prev: Echo server with anonymous authentication, Up: Server examples
3891
4057
 
3892
- 9.2.5 DTLS echo server with X.509 authentication
4058
+ 7.2.5 DTLS echo server with X.509 authentication
3893
4059
  ------------------------------------------------
3894
4060
 
3895
4061
  This example is a very simple echo server using Datagram TLS and X.509
@@ -3942,7 +4108,6 @@ static ssize_t pull_func (gnutls_transport_ptr_t p, void *data, size_t size);
3942
4108
  static const char *human_addr (const struct sockaddr *sa, socklen_t salen,
3943
4109
  char *buf, size_t buflen);
3944
4110
  static int wait_for_connection (int fd);
3945
- static gnutls_session_t initialize_tls_session (void);
3946
4111
  static int generate_dh_params (void);
3947
4112
 
3948
4113
  /* Use global credentials and parameters to simplify
@@ -4070,7 +4235,10 @@ main (void)
4070
4235
  else
4071
4236
  continue;
4072
4237
 
4073
- session = initialize_tls_session ();
4238
+ gnutls_init (&session, GNUTLS_SERVER | GNUTLS_DATAGRAM);
4239
+ gnutls_priority_set (session, priority_cache);
4240
+ gnutls_credentials_set (session, GNUTLS_CRD_CERTIFICATE, x509_cred);
4241
+
4074
4242
  gnutls_dtls_prestate_set (session, &prestate);
4075
4243
  gnutls_dtls_set_mtu (session, mtu);
4076
4244
 
@@ -4088,7 +4256,10 @@ main (void)
4088
4256
  {
4089
4257
  ret = gnutls_handshake (session);
4090
4258
  }
4091
- while (ret < 0 && gnutls_error_is_fatal (ret) == 0);
4259
+ while (ret == GNUTLS_E_INTERRUPTED || ret == GNUTLS_E_AGAIN);
4260
+ /* Note that DTLS may also receive GNUTLS_E_LARGE_PACKET.
4261
+ * In that case the MTU should be adjusted.
4262
+ */
4092
4263
 
4093
4264
  if (ret < 0)
4094
4265
  {
@@ -4109,17 +4280,24 @@ main (void)
4109
4280
  }
4110
4281
  while (ret == GNUTLS_E_AGAIN || ret == GNUTLS_E_INTERRUPTED);
4111
4282
 
4112
- if (ret < 0)
4283
+ if (ret < 0 && gnutls_error_is_fatal (ret) == 0)
4284
+ {
4285
+ fprintf (stderr, "*** Warning: %s\n", gnutls_strerror (ret));
4286
+ continue;
4287
+ }
4288
+ else if (ret < 0)
4113
4289
  {
4114
4290
  fprintf (stderr, "Error in recv(): %s\n",
4115
4291
  gnutls_strerror (ret));
4116
4292
  break;
4117
4293
  }
4294
+
4118
4295
  if (ret == 0)
4119
4296
  {
4120
4297
  printf ("EOF\n\n");
4121
4298
  break;
4122
4299
  }
4300
+
4123
4301
  buffer[ret] = 0;
4124
4302
  printf ("received[%.2x%.2x%.2x%.2x%.2x%.2x%.2x%.2x]: %s\n",
4125
4303
  sequence[0], sequence[1], sequence[2], sequence[3],
@@ -4306,24 +4484,11 @@ human_addr (const struct sockaddr *sa, socklen_t salen,
4306
4484
  return save_buf;
4307
4485
  }
4308
4486
 
4309
- static gnutls_session_t
4310
- initialize_tls_session (void)
4311
- {
4312
- gnutls_session_t session;
4313
-
4314
- gnutls_init (&session, GNUTLS_SERVER | GNUTLS_DATAGRAM);
4315
-
4316
- gnutls_priority_set (session, priority_cache);
4317
-
4318
- gnutls_credentials_set (session, GNUTLS_CRD_CERTIFICATE, x509_cred);
4319
-
4320
- return session;
4321
- }
4322
-
4323
4487
  static int
4324
4488
  generate_dh_params (void)
4325
4489
  {
4326
- int bits = gnutls_sec_param_to_pk_bits (GNUTLS_PK_DH, GNUTLS_SEC_PARAM_LOW);
4490
+ int bits =
4491
+ gnutls_sec_param_to_pk_bits (GNUTLS_PK_DH, GNUTLS_SEC_PARAM_LEGACY);
4327
4492
 
4328
4493
  /* Generate Diffie-Hellman parameters - for use with DHE
4329
4494
  * kx algorithms. When short bit length is used, it might
@@ -4338,7 +4503,7 @@ generate_dh_params (void)
4338
4503
  
4339
4504
  File: gnutls.info, Node: OCSP example, Next: Miscellaneous examples, Prev: Server examples, Up: GnuTLS application examples
4340
4505
 
4341
- 9.3 OCSP example
4506
+ 7.3 OCSP example
4342
4507
  ================
4343
4508
 
4344
4509
  Generate OCSP request
@@ -4664,9 +4829,9 @@ get_data (void *buffer, size_t size, size_t nmemb, void *userp)
4664
4829
  }
4665
4830
 
4666
4831
  
4667
- File: gnutls.info, Node: Miscellaneous examples, Prev: OCSP example, Up: GnuTLS application examples
4832
+ File: gnutls.info, Node: Miscellaneous examples, Next: XSSL examples, Prev: OCSP example, Up: GnuTLS application examples
4668
4833
 
4669
- 9.4 Miscellaneous examples
4834
+ 7.4 Miscellaneous examples
4670
4835
  ==========================
4671
4836
 
4672
4837
  * Menu:
@@ -4678,7 +4843,7 @@ File: gnutls.info, Node: Miscellaneous examples, Prev: OCSP example, Up: GnuT
4678
4843
  
4679
4844
  File: gnutls.info, Node: Checking for an alert, Next: X.509 certificate parsing example, Up: Miscellaneous examples
4680
4845
 
4681
- 9.4.1 Checking for an alert
4846
+ 7.4.1 Checking for an alert
4682
4847
  ---------------------------
4683
4848
 
4684
4849
  This is a function that checks if an alert has been received in the
@@ -4726,7 +4891,7 @@ check_alert (gnutls_session_t session, int ret)
4726
4891
  
4727
4892
  File: gnutls.info, Node: X.509 certificate parsing example, Next: Listing the ciphersuites in a priority string, Prev: Checking for an alert, Up: Miscellaneous examples
4728
4893
 
4729
- 9.4.2 X.509 certificate parsing example
4894
+ 7.4.2 X.509 certificate parsing example
4730
4895
  ---------------------------------------
4731
4896
 
4732
4897
  To demonstrate the X.509 parsing capabilities an example program is
@@ -4859,7 +5024,7 @@ print_x509_certificate_info (gnutls_session_t session)
4859
5024
  
4860
5025
  File: gnutls.info, Node: Listing the ciphersuites in a priority string, Prev: X.509 certificate parsing example, Up: Miscellaneous examples
4861
5026
 
4862
- 9.4.3 Listing the ciphersuites in a priority string
5027
+ 7.4.3 Listing the ciphersuites in a priority string
4863
5028
  ---------------------------------------------------
4864
5029
 
4865
5030
  This is a small program to list the enabled ciphersuites by a priority
@@ -4920,11 +5085,224 @@ int main(int argc, char** argv)
4920
5085
  print_cipher_suite_list (argv[1]);
4921
5086
  }
4922
5087
 
5088
+ 
5089
+ File: gnutls.info, Node: XSSL examples, Prev: Miscellaneous examples, Up: GnuTLS application examples
5090
+
5091
+ 7.5 XSSL examples
5092
+ =================
5093
+
5094
+ XSSL is an experimental API available in the `gnutls-xssl' library and
5095
+ in `gnutls/xssl.h' header. It is intended to be a very simple to use
5096
+ API avoid the GnuTLS API. The API however has the following limitations
5097
+ * It is applicable to blocking sockets only.
5098
+
5099
+ * The server verification is based on its DNS name.
5100
+
5101
+ * Menu:
5102
+
5103
+ * Example client with X.509 certificate authentication::
5104
+ * Example client with X.509 certificate authentication and TOFU::
5105
+
5106
+ 
5107
+ File: gnutls.info, Node: Example client with X.509 certificate authentication, Next: Example client with X.509 certificate authentication and TOFU, Up: XSSL examples
5108
+
5109
+ 7.5.1 Example client with X.509 certificate authentication
5110
+ ----------------------------------------------------------
5111
+
5112
+ /* This example code is placed in the public domain. */
5113
+
5114
+ #ifdef HAVE_CONFIG_H
5115
+ #include <config.h>
5116
+ #endif
5117
+
5118
+ #include <stdio.h>
5119
+ #include <stdlib.h>
5120
+ #include <string.h>
5121
+ #include <gnutls/gnutls.h>
5122
+ #include <gnutls/xssl.h>
5123
+ #include "examples.h"
5124
+
5125
+ /* A simple TLS client, with X.509 authentication. Certificate verification
5126
+ * is explicit.
5127
+ */
5128
+
5129
+ extern int tcp_connect (void);
5130
+ extern void tcp_close (int sd);
5131
+
5132
+ int main (void)
5133
+ {
5134
+ int ret;
5135
+ char *line = NULL;
5136
+ size_t line_len;
5137
+ xssl_cred_t cred;
5138
+ xssl_t sb;
5139
+ unsigned int status;
5140
+ int fd;
5141
+
5142
+ gnutls_global_init ();
5143
+
5144
+ fd = tcp_connect ();
5145
+
5146
+ ret = xssl_cred_init(&cred, GNUTLS_VMETHOD_SYSTEM_CAS, NULL, 0);
5147
+ if (ret < 0)
5148
+ exit(1);
5149
+
5150
+ /* Initialize TLS session
5151
+ */
5152
+ ret = xssl_client_init(&sb, "www.example.com", NULL,
5153
+ (gnutls_transport_ptr_t)fd,
5154
+ NULL, cred, &status, 0);
5155
+ if (ret < 0)
5156
+ {
5157
+ if (ret == GNUTLS_E_AUTH_ERROR)
5158
+ {
5159
+ gnutls_datum_t txt;
5160
+
5161
+ gnutls_certificate_verification_status_print(status, GNUTLS_CRT_X509,
5162
+ &txt, 0);
5163
+
5164
+ fprintf(stderr, "Verification error (%x): %s\n", status, txt.data);
5165
+ gnutls_free(txt.data);
5166
+ }
5167
+ exit(1);
5168
+ }
5169
+
5170
+ #define REQ "GET / HTTP/1.0\r\n"
5171
+ ret = xssl_write(sb, REQ, sizeof(REQ)-1);
5172
+ if (ret < 0)
5173
+ exit(1);
5174
+
5175
+ do
5176
+ {
5177
+ ret = xssl_getline(sb, &line, &line_len);
5178
+ if (ret < 0)
5179
+ exit(1);
5180
+
5181
+ fprintf(stderr, "received: %s\n", line);
5182
+ }
5183
+ while (ret >= 0);
5184
+
5185
+ gnutls_free(line);
5186
+
5187
+ xssl_deinit(sb);
5188
+
5189
+ tcp_close (fd);
5190
+
5191
+ xssl_cred_deinit (cred);
5192
+
5193
+ gnutls_global_deinit ();
5194
+ }
5195
+
5196
+ 
5197
+ File: gnutls.info, Node: Example client with X.509 certificate authentication and TOFU, Prev: Example client with X.509 certificate authentication, Up: XSSL examples
5198
+
5199
+ 7.5.2 Example client with X.509 certificate authentication and TOFU
5200
+ -------------------------------------------------------------------
5201
+
5202
+ /* This example code is placed in the public domain. */
5203
+
5204
+ #ifdef HAVE_CONFIG_H
5205
+ #include <config.h>
5206
+ #endif
5207
+
5208
+ #include <stdio.h>
5209
+ #include <stdlib.h>
5210
+ #include <string.h>
5211
+ #include <gnutls/gnutls.h>
5212
+ #include <gnutls/xssl.h>
5213
+ #include "examples.h"
5214
+
5215
+ /* A simple TLS client, with X.509 authentication. Certificate verification
5216
+ * with a fixed CA, and trust on first use.
5217
+ */
5218
+
5219
+ extern int tcp_connect (void);
5220
+ extern void tcp_close (int sd);
5221
+
5222
+ int main (void)
5223
+ {
5224
+ int ret;
5225
+ char *line = NULL;
5226
+ size_t line_len;
5227
+ xssl_cred_t cred;
5228
+ xssl_t sb;
5229
+ gnutls_cinput_st aux[2];
5230
+ unsigned aux_size = 0;
5231
+ unsigned int status;
5232
+ int fd;
5233
+
5234
+ gnutls_global_init ();
5235
+
5236
+ fd = tcp_connect ();
5237
+
5238
+ aux[aux_size].type = GNUTLS_CINPUT_TYPE_FILE;
5239
+ aux[aux_size].contents = GNUTLS_CINPUT_CAS;
5240
+ aux[aux_size].fmt = GNUTLS_X509_FMT_PEM;
5241
+ aux[aux_size].i1.file = "/path/to/ca/file";
5242
+ aux_size++;
5243
+
5244
+ /* This may be skipped to use the default DB file */
5245
+ aux[aux_size].type = GNUTLS_CINPUT_TYPE_FILE;
5246
+ aux[aux_size].contents = GNUTLS_CINPUT_TOFU_DB;
5247
+ aux[aux_size].i1.file = "/path/to/trust/db/file";
5248
+ aux_size++;
5249
+
5250
+ ret = xssl_cred_init(&cred, GNUTLS_VMETHOD_GIVEN_CAS|GNUTLS_VMETHOD_TOFU,
5251
+ aux, aux_size);
5252
+ if (ret < 0)
5253
+ exit(1);
5254
+
5255
+ /* Initialize TLS session
5256
+ */
5257
+ ret = xssl_client_init(&sb, "www.example.com", NULL,
5258
+ (gnutls_transport_ptr_t)fd,
5259
+ NULL, cred, &status, 0);
5260
+ if (ret < 0)
5261
+ {
5262
+ if (ret == GNUTLS_E_AUTH_ERROR)
5263
+ {
5264
+ gnutls_datum_t txt;
5265
+
5266
+ gnutls_certificate_verification_status_print(status, GNUTLS_CRT_X509,
5267
+ &txt, 0);
5268
+
5269
+ fprintf(stderr, "Verification error (%x): %s\n", status, txt.data);
5270
+ gnutls_free(txt.data);
5271
+ }
5272
+ exit(1);
5273
+ }
5274
+
5275
+ #define REQ "GET / HTTP/1.0\r\n"
5276
+ ret = xssl_write(sb, REQ, sizeof(REQ)-1);
5277
+ if (ret < 0)
5278
+ exit(1);
5279
+
5280
+ do
5281
+ {
5282
+ ret = xssl_getline(sb, &line, &line_len);
5283
+ if (ret < 0)
5284
+ exit(1);
5285
+
5286
+ fprintf(stderr, "received: %s\n", line);
5287
+ }
5288
+ while (ret >= 0);
5289
+
5290
+ gnutls_free(line);
5291
+
5292
+ xssl_deinit(sb);
5293
+
5294
+ tcp_close (fd);
5295
+
5296
+ xssl_cred_deinit (cred);
5297
+
5298
+ gnutls_global_deinit ();
5299
+ }
5300
+
4923
5301
  
4924
5302
  File: gnutls.info, Node: Using GnuTLS as a cryptographic library, Next: Other included programs, Prev: GnuTLS application examples, Up: Top
4925
5303
 
4926
- 10 Using GnuTLS as a cryptographic library
4927
- ******************************************
5304
+ 8 Using GnuTLS as a cryptographic library
5305
+ *****************************************
4928
5306
 
4929
5307
  GnuTLS is not a low-level cryptographic library, i.e., it does not
4930
5308
  provide access to basic cryptographic primitives. However it abstracts
@@ -4934,15 +5312,15 @@ the random number generation.
4934
5312
 
4935
5313
  * Menu:
4936
5314
 
4937
- * Symmetric cryptography::
5315
+ * Encryption algorithms::
4938
5316
  * Hash and HMAC functions::
4939
5317
  * Random number generation::
4940
5318
 
4941
5319
  
4942
- File: gnutls.info, Node: Symmetric cryptography, Next: Hash and HMAC functions, Up: Using GnuTLS as a cryptographic library
5320
+ File: gnutls.info, Node: Encryption algorithms, Next: Hash and HMAC functions, Up: Using GnuTLS as a cryptographic library
4943
5321
 
4944
- 10.1 Symmetric cryptography
4945
- ===========================
5322
+ 8.1 Encryption algorithms
5323
+ =========================
4946
5324
 
4947
5325
  The available functions to access symmetric crypto algorithms operations
4948
5326
  are shown below. The supported algorithms are the algorithms required
@@ -4967,10 +5345,10 @@ associated data and retrieve the authentication tag.
4967
5345
  `INT *note gnutls_cipher_tag:: (gnutls_cipher_hd_t HANDLE, void * TAG, size_t TAG_SIZE)'
4968
5346
 
4969
5347
  
4970
- File: gnutls.info, Node: Hash and HMAC functions, Next: Random number generation, Prev: Symmetric cryptography, Up: Using GnuTLS as a cryptographic library
5348
+ File: gnutls.info, Node: Hash and HMAC functions, Next: Random number generation, Prev: Encryption algorithms, Up: Using GnuTLS as a cryptographic library
4971
5349
 
4972
- 10.2 Hash and HMAC functions
4973
- ============================
5350
+ 8.2 Hash and HMAC functions
5351
+ ===========================
4974
5352
 
4975
5353
  The available operations to access hash functions and hash-MAC (HMAC)
4976
5354
  algorithms are shown below. HMAC algorithms provided keyed hash
@@ -5004,11 +5382,13 @@ supported hash functions are the same as the HMAC algorithms.
5004
5382
 
5005
5383
  `INT *note gnutls_hash_fast:: (gnutls_digest_algorithm_t ALGORITHM, const void * TEXT, size_t TEXTLEN, void * DIGEST)'
5006
5384
 
5385
+ `INT *note gnutls_fingerprint:: (gnutls_digest_algorithm_t ALGO, const gnutls_datum_t * DATA, void * RESULT, size_t * RESULT_SIZE)'
5386
+
5007
5387
  
5008
5388
  File: gnutls.info, Node: Random number generation, Prev: Hash and HMAC functions, Up: Using GnuTLS as a cryptographic library
5009
5389
 
5010
- 10.3 Random number generation
5011
- =============================
5390
+ 8.3 Random number generation
5391
+ ============================
5012
5392
 
5013
5393
  Access to the random number generator is provided using the *note
5014
5394
  gnutls_rnd:: function. It allows obtaining random data of various
@@ -5025,7 +5405,7 @@ levels.
5025
5405
  `GNUTLS_RND_KEY'
5026
5406
  Fatal in many sessions if broken.
5027
5407
 
5028
- Figure 10.1: The random number levels.
5408
+ Figure 8.1: The random number levels.
5029
5409
 
5030
5410
  -- Function: int gnutls_rnd (gnutls_rnd_level_t LEVEL, void * DATA,
5031
5411
  size_t LEN)
@@ -5045,8 +5425,8 @@ Figure 10.1: The random number levels.
5045
5425
  
5046
5426
  File: gnutls.info, Node: Other included programs, Next: Internal architecture of GnuTLS, Prev: Using GnuTLS as a cryptographic library, Up: Top
5047
5427
 
5048
- 11 Other included programs
5049
- **************************
5428
+ 9 Other included programs
5429
+ *************************
5050
5430
 
5051
5431
  Included with GnuTLS are also a few command line tools that let you use
5052
5432
  the library for common tasks without writing an application. The
@@ -5061,8 +5441,8 @@ applications are discussed in this chapter.
5061
5441
  
5062
5442
  File: gnutls.info, Node: gnutls-cli Invocation, Next: gnutls-serv Invocation, Up: Other included programs
5063
5443
 
5064
- 11.1 Invoking gnutls-cli
5065
- ========================
5444
+ 9.1 Invoking gnutls-cli
5445
+ =======================
5066
5446
 
5067
5447
  Simple client program to set up a TLS connection to some other computer.
5068
5448
  It sets up a TLS connection and forwards data from the standard input
@@ -5084,7 +5464,7 @@ platforms without a working `fork(2)' function. The `PAGER'
5084
5464
  environment variable is used to select the program, defaulting to
5085
5465
  `more'. Both will exit with a status code of 0.
5086
5466
 
5087
- gnutls-cli - GnuTLS client - Ver. 3.1.5
5467
+ gnutls-cli - GnuTLS client - Ver. 3.1.10
5088
5468
  USAGE: gnutls-cli [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [hostname]
5089
5469
 
5090
5470
  -d, --debug=num Enable debugging.
@@ -5141,11 +5521,13 @@ USAGE: gnutls-cli [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [hostname]
5141
5521
  --pskkey=str PSK key (in hex) to use
5142
5522
  -p, --port=str The port or service to connect to
5143
5523
  --insecure Don't abort program if server certificate can't be validated
5524
+ --ranges Use length-hiding padding to prevent traffic analysis
5144
5525
  --benchmark-ciphers Benchmark individual ciphers
5145
5526
  --benchmark-soft-ciphers Benchmark individual software ciphers (no hw acceleration)
5146
5527
  --benchmark-tls-kx Benchmark TLS key exchange methods
5147
5528
  --benchmark-tls-ciphers Benchmark TLS ciphers
5148
5529
  -l, --list Print a list of the supported algorithms and modes
5530
+ --disable-sni Do not send a Server Name Indication (SNI)
5149
5531
  -v, --version[=arg] Output version information and exit
5150
5532
  -h, --help Display extended usage information and exit
5151
5533
  -!, --more-help Extended usage information passed thru pager
@@ -5251,6 +5633,13 @@ sets of ciphersuites such as PERFORMANCE, NORMAL, SECURE128, SECURE256.
5251
5633
  Check the GnuTLS manual on section "Priority strings" for more
5252
5634
  information on allowed keywords
5253
5635
 
5636
+ ranges option
5637
+ -------------
5638
+
5639
+ This is the "use length-hiding padding to prevent traffic analysis"
5640
+ option. When possible (e.g., when %NEW_PADDING is specified), use
5641
+ length-hiding padding to prevent traffic analysis.
5642
+
5254
5643
  list option (-l)
5255
5644
  ----------------
5256
5645
 
@@ -5321,8 +5710,8 @@ To list the ciphersuites in a priority string:
5321
5710
  
5322
5711
  File: gnutls.info, Node: gnutls-serv Invocation, Next: gnutls-cli-debug Invocation, Prev: gnutls-cli Invocation, Up: Other included programs
5323
5712
 
5324
- 11.2 Invoking gnutls-serv
5325
- =========================
5713
+ 9.2 Invoking gnutls-serv
5714
+ ========================
5326
5715
 
5327
5716
  Server program that listens to incoming TLS connections.
5328
5717
 
@@ -5342,7 +5731,7 @@ platforms without a working `fork(2)' function. The `PAGER'
5342
5731
  environment variable is used to select the program, defaulting to
5343
5732
  `more'. Both will exit with a status code of 0.
5344
5733
 
5345
- gnutls-serv - GnuTLS server - Ver. 3.1.5
5734
+ gnutls-serv - GnuTLS server - Ver. 3.1.10
5346
5735
  USAGE: gnutls-serv [ -<flag> [<val>] | --<name>[{=| }<val>] ]...
5347
5736
 
5348
5737
  -d, --debug=num Enable debugging.
@@ -5600,8 +5989,8 @@ get this command:
5600
5989
  
5601
5990
  File: gnutls.info, Node: gnutls-cli-debug Invocation, Prev: gnutls-serv Invocation, Up: Other included programs
5602
5991
 
5603
- 11.3 Invoking gnutls-cli-debug
5604
- ==============================
5992
+ 9.3 Invoking gnutls-cli-debug
5993
+ =============================
5605
5994
 
5606
5995
  TLS debug client. It sets up multiple TLS connections to a server and
5607
5996
  queries its capabilities. It was created to assist in debugging GnuTLS,
@@ -5626,7 +6015,7 @@ platforms without a working `fork(2)' function. The `PAGER'
5626
6015
  environment variable is used to select the program, defaulting to
5627
6016
  `more'. Both will exit with a status code of 0.
5628
6017
 
5629
- gnutls-cli-debug - GnuTLS debug client - Ver. 3.1.5
6018
+ gnutls-cli-debug - GnuTLS debug client - Ver. 3.1.10
5630
6019
  USAGE: gnutls-cli-debug [ -<flag> [<val>] | --<name>[{=| }<val>] ]...
5631
6020
 
5632
6021
  -d, --debug=num Enable debugging.
@@ -5729,7 +6118,7 @@ gnutls-cli-debug Examples
5729
6118
  
5730
6119
  File: gnutls.info, Node: Internal architecture of GnuTLS, Next: Upgrading from previous versions, Prev: Other included programs, Up: Top
5731
6120
 
5732
- 12 Internal Architecture of GnuTLS
6121
+ 10 Internal Architecture of GnuTLS
5733
6122
  **********************************
5734
6123
 
5735
6124
  This chapter is to give a brief description of the way GnuTLS works.
@@ -5747,7 +6136,7 @@ to know what happens inside the black box.
5747
6136
  
5748
6137
  File: gnutls.info, Node: The TLS Protocol, Next: TLS Handshake Protocol, Up: Internal architecture of GnuTLS
5749
6138
 
5750
- 12.1 The TLS Protocol
6139
+ 10.1 The TLS Protocol
5751
6140
  =====================
5752
6141
 
5753
6142
  The main use case for the TLS protocol is shown in *note
@@ -5758,12 +6147,12 @@ with the peer and be able to exchange data.
5758
6147
 
5759
6148
  [image src="gnutls-client-server-use-case.png"]
5760
6149
 
5761
- Figure 12.1: TLS protocol use case.
6150
+ Figure 10.1: TLS protocol use case.
5762
6151
 
5763
6152
  
5764
6153
  File: gnutls.info, Node: TLS Handshake Protocol, Next: TLS Authentication Methods, Prev: The TLS Protocol, Up: Internal architecture of GnuTLS
5765
6154
 
5766
- 12.2 TLS Handshake Protocol
6155
+ 10.2 TLS Handshake Protocol
5767
6156
  ===========================
5768
6157
 
5769
6158
  The GnuTLS handshake protocol is implemented as a state machine that
@@ -5773,7 +6162,7 @@ fig:gnutls-handshake::.
5773
6162
 
5774
6163
  [image src="gnutls-handshake-state.png"]
5775
6164
 
5776
- Figure 12.2: GnuTLS handshake state machine.
6165
+ Figure 10.2: GnuTLS handshake state machine.
5777
6166
 
5778
6167
  Also the way the input is processed varies per ciphersuite. Several
5779
6168
  implementations of the internal handlers are available and *note
@@ -5784,12 +6173,12 @@ illustrate the idea in *note fig:gnutls-handshake-sequence::.
5784
6173
 
5785
6174
  [image src="gnutls-handshake-sequence.png"]
5786
6175
 
5787
- Figure 12.3: GnuTLS handshake process sequence.
6176
+ Figure 10.3: GnuTLS handshake process sequence.
5788
6177
 
5789
6178
  
5790
6179
  File: gnutls.info, Node: TLS Authentication Methods, Next: TLS Extension Handling, Prev: TLS Handshake Protocol, Up: Internal architecture of GnuTLS
5791
6180
 
5792
- 12.3 TLS Authentication Methods
6181
+ 10.3 TLS Authentication Methods
5793
6182
  ===============================
5794
6183
 
5795
6184
  In GnuTLS authentication methods can be implemented quite easily.
@@ -5837,7 +6226,7 @@ its pointers has to be registered in `gnutls_algorithms.c' in the
5837
6226
  
5838
6227
  File: gnutls.info, Node: TLS Extension Handling, Next: Cryptographic Backend, Prev: TLS Authentication Methods, Up: Internal architecture of GnuTLS
5839
6228
 
5840
- 12.4 TLS Extension Handling
6229
+ 10.4 TLS Extension Handling
5841
6230
  ===========================
5842
6231
 
5843
6232
  As with authentication methods, the TLS extensions handlers can be
@@ -5891,7 +6280,7 @@ make the extension be enabled by default. Look at existing checks
5891
6280
  fi
5892
6281
  AM_CONDITIONAL(ENABLE_FOOBAR, test "$ac_enable_foobar" != "no")
5893
6282
 
5894
- These lines should go in `lib/m4/hooks.m4'.
6283
+ These lines should go in `m4/hooks.m4'.
5895
6284
 
5896
6285
  Add IANA extension value to `extensions_t' in `gnutls_int.h'.
5897
6286
  .............................................................
@@ -6162,7 +6551,7 @@ Another way is to run capabilities check with:
6162
6551
  
6163
6552
  File: gnutls.info, Node: Cryptographic Backend, Prev: TLS Extension Handling, Up: Internal architecture of GnuTLS
6164
6553
 
6165
- 12.5 Cryptographic Backend
6554
+ 10.5 Cryptographic Backend
6166
6555
  ==========================
6167
6556
 
6168
6557
  Today most new processors, either for embedded or desktop systems
@@ -6176,7 +6565,7 @@ to accessing cryptographic operations as in *note fig:crypto-layers::.
6176
6565
 
6177
6566
  [image src="gnutls-crypto-layers.png"]
6178
6567
 
6179
- Figure 12.4: GnuTLS cryptographic back-end design.
6568
+ Figure 10.4: GnuTLS cryptographic back-end design.
6180
6569
 
6181
6570
  The TLS layer uses a cryptographic provider layer, that will in turn
6182
6571
  either use the default crypto provider - a software crypto library, or
@@ -6785,6 +7174,10 @@ expressions.
6785
7174
  status (OCSP).
6786
7175
  -341 GNUTLS_E_OCSP_RESPONSE_ERROR The OCSP response is
6787
7176
  invalid
7177
+ -342 GNUTLS_E_RANDOM_DEVICE_ERROR Error in the system's
7178
+ randomness device.
7179
+ -343 GNUTLS_E_AUTH_ERROR Could not authenticate
7180
+ peer.
6788
7181
 
6789
7182
  
6790
7183
  File: gnutls.info, Node: Supported ciphersuites, Next: API reference, Prev: Error codes, Up: Top
@@ -6797,37 +7190,19 @@ Ciphersuites
6797
7190
 
6798
7191
  Ciphersuite name TLS ID Since
6799
7192
  --------------------------------------------------------------------------
6800
- TLS_DH_ANON_ARCFOUR_MD5 0x00 0x18 SSL3.0
6801
- TLS_DH_ANON_3DES_EDE_CBC_SHA1 0x00 0x1B SSL3.0
6802
- TLS_DH_ANON_AES_128_CBC_SHA1 0x00 0x34 SSL3.0
6803
- TLS_DH_ANON_AES_256_CBC_SHA1 0x00 0x3A SSL3.0
6804
- TLS_DH_ANON_CAMELLIA_128_CBC_SHA1 0x00 0x46 TLS1.0
6805
- TLS_DH_ANON_CAMELLIA_256_CBC_SHA1 0x00 0x89 TLS1.0
6806
- TLS_DH_ANON_AES_128_CBC_SHA256 0x00 0x6C TLS1.2
6807
- TLS_DH_ANON_AES_256_CBC_SHA256 0x00 0x6D TLS1.2
6808
- TLS_PSK_SHA_ARCFOUR_SHA1 0x00 0x8A TLS1.0
6809
- TLS_PSK_SHA_3DES_EDE_CBC_SHA1 0x00 0x8B TLS1.0
6810
- TLS_PSK_SHA_AES_128_CBC_SHA1 0x00 0x8C TLS1.0
6811
- TLS_PSK_SHA_AES_256_CBC_SHA1 0x00 0x8D TLS1.0
6812
- TLS_PSK_AES_128_CBC_SHA256 0x00 0xAE TLS1.0
6813
- TLS_PSK_AES_128_GCM_SHA256 0x00 0xA8 TLS1.2
6814
- TLS_PSK_NULL_SHA256 0x00 0xB0 TLS1.0
6815
- TLS_DHE_PSK_SHA_ARCFOUR_SHA1 0x00 0x8E TLS1.0
6816
- TLS_DHE_PSK_SHA_3DES_EDE_CBC_SHA1 0x00 0x8F TLS1.0
6817
- TLS_DHE_PSK_SHA_AES_128_CBC_SHA1 0x00 0x90 TLS1.0
6818
- TLS_DHE_PSK_SHA_AES_256_CBC_SHA1 0x00 0x91 TLS1.0
6819
- TLS_DHE_PSK_AES_128_CBC_SHA256 0x00 0xB2 TLS1.0
6820
- TLS_DHE_PSK_AES_128_GCM_SHA256 0x00 0xAA TLS1.2
6821
- TLS_DHE_PSK_NULL_SHA256 0x00 0xB4 TLS1.0
6822
- TLS_SRP_SHA_3DES_EDE_CBC_SHA1 0xC0 0x1A TLS1.0
6823
- TLS_SRP_SHA_AES_128_CBC_SHA1 0xC0 0x1D TLS1.0
6824
- TLS_SRP_SHA_AES_256_CBC_SHA1 0xC0 0x20 TLS1.0
6825
- TLS_SRP_SHA_DSS_3DES_EDE_CBC_SHA1 0xC0 0x1C TLS1.0
6826
- TLS_SRP_SHA_RSA_3DES_EDE_CBC_SHA1 0xC0 0x1B TLS1.0
6827
- TLS_SRP_SHA_DSS_AES_128_CBC_SHA1 0xC0 0x1F TLS1.0
6828
- TLS_SRP_SHA_RSA_AES_128_CBC_SHA1 0xC0 0x1E TLS1.0
6829
- TLS_SRP_SHA_DSS_AES_256_CBC_SHA1 0xC0 0x22 TLS1.0
6830
- TLS_SRP_SHA_RSA_AES_256_CBC_SHA1 0xC0 0x21 TLS1.0
7193
+ TLS_RSA_NULL_MD5 0x00 0x01 SSL3.0
7194
+ TLS_RSA_NULL_SHA1 0x00 0x02 SSL3.0
7195
+ TLS_RSA_NULL_SHA256 0x00 0x3B TLS1.2
7196
+ TLS_RSA_ARCFOUR_SHA1 0x00 0x05 SSL3.0
7197
+ TLS_RSA_ARCFOUR_MD5 0x00 0x04 SSL3.0
7198
+ TLS_RSA_3DES_EDE_CBC_SHA1 0x00 0x0A SSL3.0
7199
+ TLS_RSA_AES_128_CBC_SHA1 0x00 0x2F SSL3.0
7200
+ TLS_RSA_AES_256_CBC_SHA1 0x00 0x35 SSL3.0
7201
+ TLS_RSA_CAMELLIA_128_CBC_SHA1 0x00 0x41 TLS1.0
7202
+ TLS_RSA_CAMELLIA_256_CBC_SHA1 0x00 0x84 TLS1.0
7203
+ TLS_RSA_AES_128_CBC_SHA256 0x00 0x3C TLS1.2
7204
+ TLS_RSA_AES_256_CBC_SHA256 0x00 0x3D TLS1.2
7205
+ TLS_RSA_AES_128_GCM_SHA256 0x00 0x9C TLS1.2
6831
7206
  TLS_DHE_DSS_ARCFOUR_SHA1 0x00 0x66 TLS1.0
6832
7207
  TLS_DHE_DSS_3DES_EDE_CBC_SHA1 0x00 0x13 SSL3.0
6833
7208
  TLS_DHE_DSS_AES_128_CBC_SHA1 0x00 0x32 SSL3.0
@@ -6843,27 +7218,8 @@ TLS_DHE_RSA_CAMELLIA_128_CBC_SHA1 0x00 0x45 TLS1.0
6843
7218
  TLS_DHE_RSA_CAMELLIA_256_CBC_SHA1 0x00 0x88 TLS1.0
6844
7219
  TLS_DHE_RSA_AES_128_CBC_SHA256 0x00 0x67 TLS1.2
6845
7220
  TLS_DHE_RSA_AES_256_CBC_SHA256 0x00 0x6B TLS1.2
6846
- TLS_RSA_NULL_MD5 0x00 0x01 SSL3.0
6847
- TLS_RSA_NULL_SHA1 0x00 0x02 SSL3.0
6848
- TLS_RSA_NULL_SHA256 0x00 0x3B TLS1.2
6849
- TLS_RSA_EXPORT_ARCFOUR_40_MD5 0x00 0x03 SSL3.0
6850
- TLS_RSA_ARCFOUR_SHA1 0x00 0x05 SSL3.0
6851
- TLS_RSA_ARCFOUR_MD5 0x00 0x04 SSL3.0
6852
- TLS_RSA_3DES_EDE_CBC_SHA1 0x00 0x0A SSL3.0
6853
- TLS_RSA_AES_128_CBC_SHA1 0x00 0x2F SSL3.0
6854
- TLS_RSA_AES_256_CBC_SHA1 0x00 0x35 SSL3.0
6855
- TLS_RSA_CAMELLIA_128_CBC_SHA1 0x00 0x41 TLS1.0
6856
- TLS_RSA_CAMELLIA_256_CBC_SHA1 0x00 0x84 TLS1.0
6857
- TLS_RSA_AES_128_CBC_SHA256 0x00 0x3C TLS1.2
6858
- TLS_RSA_AES_256_CBC_SHA256 0x00 0x3D TLS1.2
6859
- TLS_RSA_AES_128_GCM_SHA256 0x00 0x9C TLS1.2
6860
7221
  TLS_DHE_RSA_AES_128_GCM_SHA256 0x00 0x9E TLS1.2
6861
7222
  TLS_DHE_DSS_AES_128_GCM_SHA256 0x00 0xA2 TLS1.2
6862
- TLS_DH_ANON_AES_128_GCM_SHA256 0x00 0xA6 TLS1.2
6863
- TLS_ECDH_ANON_NULL_SHA1 0xC0 0x15 TLS1.0
6864
- TLS_ECDH_ANON_3DES_EDE_CBC_SHA1 0xC0 0x17 TLS1.0
6865
- TLS_ECDH_ANON_AES_128_CBC_SHA1 0xC0 0x18 TLS1.0
6866
- TLS_ECDH_ANON_AES_256_CBC_SHA1 0xC0 0x19 TLS1.0
6867
7223
  TLS_ECDHE_RSA_NULL_SHA1 0xC0 0x10 TLS1.0
6868
7224
  TLS_ECDHE_RSA_3DES_EDE_CBC_SHA1 0xC0 0x12 TLS1.0
6869
7225
  TLS_ECDHE_RSA_AES_128_CBC_SHA1 0xC0 0x13 TLS1.0
@@ -6876,6 +7232,9 @@ TLS_ECDHE_ECDSA_AES_128_CBC_SHA256 0xC0 0x23 TLS1.2
6876
7232
  TLS_ECDHE_RSA_AES_128_CBC_SHA256 0xC0 0x27 TLS1.2
6877
7233
  TLS_ECDHE_ECDSA_AES_128_GCM_SHA256 0xC0 0x2B TLS1.2
6878
7234
  TLS_ECDHE_RSA_AES_128_GCM_SHA256 0xC0 0x2F TLS1.2
7235
+ TLS_ECDHE_ECDSA_AES_256_GCM_SHA384 0xC0 0x2C TLS1.2
7236
+ TLS_ECDHE_RSA_AES_256_GCM_SHA384 0xC0 0x30 TLS1.2
7237
+ TLS_ECDHE_ECDSA_AES_256_CBC_SHA384 0xC0 0x24 TLS1.2
6879
7238
  TLS_ECDHE_PSK_3DES_EDE_CBC_SHA1 0xC0 0x34 TLS1.0
6880
7239
  TLS_ECDHE_PSK_AES_128_CBC_SHA1 0xC0 0x35 TLS1.0
6881
7240
  TLS_ECDHE_PSK_AES_256_CBC_SHA1 0xC0 0x36 TLS1.0
@@ -6883,11 +7242,45 @@ TLS_ECDHE_PSK_AES_128_CBC_SHA256 0xC0 0x37 TLS1.0
6883
7242
  TLS_ECDHE_PSK_AES_256_CBC_SHA384 0xC0 0x38 TLS1.0
6884
7243
  TLS_ECDHE_PSK_NULL_SHA256 0xC0 0x3A TLS1.0
6885
7244
  TLS_ECDHE_PSK_NULL_SHA384 0xC0 0x3B TLS1.0
6886
- TLS_ECDHE_ECDSA_AES_256_GCM_SHA384 0xC0 0x2C TLS1.2
6887
- TLS_ECDHE_RSA_AES_256_GCM_SHA384 0xC0 0x30 TLS1.2
6888
- TLS_ECDHE_ECDSA_AES_256_CBC_SHA384 0xC0 0x24 TLS1.2
7245
+ TLS_PSK_SHA_ARCFOUR_SHA1 0x00 0x8A TLS1.0
7246
+ TLS_PSK_SHA_3DES_EDE_CBC_SHA1 0x00 0x8B TLS1.0
7247
+ TLS_PSK_SHA_AES_128_CBC_SHA1 0x00 0x8C TLS1.0
7248
+ TLS_PSK_SHA_AES_256_CBC_SHA1 0x00 0x8D TLS1.0
7249
+ TLS_PSK_AES_128_CBC_SHA256 0x00 0xAE TLS1.0
7250
+ TLS_PSK_AES_128_GCM_SHA256 0x00 0xA8 TLS1.2
7251
+ TLS_PSK_NULL_SHA256 0x00 0xB0 TLS1.0
7252
+ TLS_DHE_PSK_SHA_ARCFOUR_SHA1 0x00 0x8E TLS1.0
7253
+ TLS_DHE_PSK_SHA_3DES_EDE_CBC_SHA1 0x00 0x8F TLS1.0
7254
+ TLS_DHE_PSK_SHA_AES_128_CBC_SHA1 0x00 0x90 TLS1.0
7255
+ TLS_DHE_PSK_SHA_AES_256_CBC_SHA1 0x00 0x91 TLS1.0
7256
+ TLS_DHE_PSK_AES_128_CBC_SHA256 0x00 0xB2 TLS1.0
7257
+ TLS_DHE_PSK_AES_128_GCM_SHA256 0x00 0xAA TLS1.2
7258
+ TLS_DHE_PSK_NULL_SHA256 0x00 0xB4 TLS1.0
6889
7259
  TLS_PSK_WITH_AES_256_GCM_SHA384 0x00 0xA9 TLS1.2
6890
7260
  TLS_DHE_PSK_WITH_AES_256_GCM_SHA384 0x00 0xAB TLS1.2
7261
+ TLS_DH_ANON_ARCFOUR_MD5 0x00 0x18 SSL3.0
7262
+ TLS_DH_ANON_3DES_EDE_CBC_SHA1 0x00 0x1B SSL3.0
7263
+ TLS_DH_ANON_AES_128_CBC_SHA1 0x00 0x34 SSL3.0
7264
+ TLS_DH_ANON_AES_256_CBC_SHA1 0x00 0x3A SSL3.0
7265
+ TLS_DH_ANON_CAMELLIA_128_CBC_SHA1 0x00 0x46 TLS1.0
7266
+ TLS_DH_ANON_CAMELLIA_256_CBC_SHA1 0x00 0x89 TLS1.0
7267
+ TLS_DH_ANON_AES_128_CBC_SHA256 0x00 0x6C TLS1.2
7268
+ TLS_DH_ANON_AES_256_CBC_SHA256 0x00 0x6D TLS1.2
7269
+ TLS_DH_ANON_AES_128_GCM_SHA256 0x00 0xA6 TLS1.2
7270
+ TLS_ECDH_ANON_NULL_SHA1 0xC0 0x15 TLS1.0
7271
+ TLS_ECDH_ANON_3DES_EDE_CBC_SHA1 0xC0 0x17 TLS1.0
7272
+ TLS_ECDH_ANON_AES_128_CBC_SHA1 0xC0 0x18 TLS1.0
7273
+ TLS_ECDH_ANON_AES_256_CBC_SHA1 0xC0 0x19 TLS1.0
7274
+ TLS_SRP_SHA_3DES_EDE_CBC_SHA1 0xC0 0x1A TLS1.0
7275
+ TLS_SRP_SHA_AES_128_CBC_SHA1 0xC0 0x1D TLS1.0
7276
+ TLS_SRP_SHA_AES_256_CBC_SHA1 0xC0 0x20 TLS1.0
7277
+ TLS_SRP_SHA_DSS_3DES_EDE_CBC_SHA1 0xC0 0x1C TLS1.0
7278
+ TLS_SRP_SHA_RSA_3DES_EDE_CBC_SHA1 0xC0 0x1B TLS1.0
7279
+ TLS_SRP_SHA_DSS_AES_128_CBC_SHA1 0xC0 0x1F TLS1.0
7280
+ TLS_SRP_SHA_RSA_AES_128_CBC_SHA1 0xC0 0x1E TLS1.0
7281
+ TLS_SRP_SHA_DSS_AES_256_CBC_SHA1 0xC0 0x22 TLS1.0
7282
+ TLS_SRP_SHA_RSA_AES_256_CBC_SHA1 0xC0 0x21 TLS1.0
7283
+ TLS_RSA_EXPORT_ARCFOUR_40_MD5 0x00 0x03 SSL3.0
6891
7284
 
6892
7285
  Certificate types
6893
7286
  =================
@@ -6970,12 +7363,12 @@ Key exchange methods
6970
7363
 
6971
7364
  `DHE-RSA'
6972
7365
 
7366
+ `DHE-DSS'
7367
+
6973
7368
  `ECDHE-RSA'
6974
7369
 
6975
7370
  `ECDHE-ECDSA'
6976
7371
 
6977
- `DHE-DSS'
6978
-
6979
7372
  `SRP-DSS'
6980
7373
 
6981
7374
  `SRP-RSA'
@@ -7061,6 +7454,7 @@ Appendix E API reference
7061
7454
  * Menu:
7062
7455
 
7063
7456
  * Core TLS API::
7457
+ * High level TLS API::
7064
7458
  * Datagram TLS API::
7065
7459
  * X509 certificate API::
7066
7460
  * OCSP API::
@@ -7074,7 +7468,7 @@ Appendix E API reference
7074
7468
  * Compatibility API::
7075
7469
 
7076
7470
  
7077
- File: gnutls.info, Node: Core TLS API, Next: Datagram TLS API, Up: API reference
7471
+ File: gnutls.info, Node: Core TLS API, Next: High level TLS API, Up: API reference
7078
7472
 
7079
7473
  E.1 Core TLS API
7080
7474
  ================
@@ -7534,6 +7928,8 @@ gnutls_certificate_get_peers_subkey_id
7534
7928
  *Returns:* On success, `GNUTLS_E_SUCCESS' (0) is returned,
7535
7929
  otherwise an error code is returned.
7536
7930
 
7931
+ *Since:* 3.1.3
7932
+
7537
7933
  gnutls_certificate_send_x509_rdn_sequence
7538
7934
  -----------------------------------------
7539
7935
 
@@ -7580,9 +7976,9 @@ gnutls_certificate_set_dh_params
7580
7976
  This function will set the Diffie-Hellman parameters for a
7581
7977
  certificate server to use. These parameters will be used in
7582
7978
  Ephemeral Diffie-Hellman cipher suites. Note that only a pointer
7583
- to the parameters are stored in the certificate handle, so if you
7584
- deallocate the parameters before the certificate is deallocated,
7585
- you must change the parameters stored in the certificate first.
7979
+ to the parameters are stored in the certificate handle, so you
7980
+ must not deallocate the parameters before the certificate is
7981
+ deallocated.
7586
7982
 
7587
7983
  gnutls_certificate_set_ocsp_status_request_file
7588
7984
  -----------------------------------------------
@@ -7606,6 +8002,8 @@ gnutls_certificate_set_ocsp_status_request_file
7606
8002
  *Returns:* On success, `GNUTLS_E_SUCCESS' (0) is returned,
7607
8003
  otherwise a negative error code is returned.
7608
8004
 
8005
+ *Since:* 3.1.3
8006
+
7609
8007
  gnutls_certificate_set_ocsp_status_request_function
7610
8008
  ---------------------------------------------------
7611
8009
 
@@ -7638,6 +8036,8 @@ gnutls_certificate_set_ocsp_status_request_function
7638
8036
  *Returns:* On success, `GNUTLS_E_SUCCESS' (0) is returned,
7639
8037
  otherwise a negative error code is returned.
7640
8038
 
8039
+ *Since:* 3.1.3
8040
+
7641
8041
  gnutls_certificate_set_params_function
7642
8042
  --------------------------------------
7643
8043
 
@@ -8483,13 +8883,22 @@ gnutls_db_check_entry
8483
8883
 
8484
8884
  SESSION_ENTRY: is the session data (not key)
8485
8885
 
8486
- Check if database entry has expired. This function is to be used
8487
- when you want to clear unnecessary sessions which occupy space in
8488
- your backend.
8886
+ This function has no effect.
8489
8887
 
8490
8888
  *Returns:* Returns `GNUTLS_E_EXPIRED' , if the database entry has
8491
8889
  expired or 0 otherwise.
8492
8890
 
8891
+ gnutls_db_check_entry_time
8892
+ --------------------------
8893
+
8894
+ -- Function: time_t gnutls_db_check_entry_time (gnutls_datum_t * ENTRY)
8895
+ ENTRY: is a pointer to a `gnutls_datum_t' structure.
8896
+
8897
+ This function returns the time that this entry was active. It can
8898
+ be used for database entry expiration.
8899
+
8900
+ *Returns:* The time this entry was created, or zero on error.
8901
+
8493
8902
  gnutls_db_get_ptr
8494
8903
  -----------------
8495
8904
 
@@ -8725,6 +9134,8 @@ gnutls_dh_params_export2_pkcs3
8725
9134
  *Returns:* On success, `GNUTLS_E_SUCCESS' (0) is returned,
8726
9135
  otherwise a negative error code is returned.
8727
9136
 
9137
+ *Since:* 3.1.3
9138
+
8728
9139
  gnutls_dh_params_export_pkcs3
8729
9140
  -----------------------------
8730
9141
 
@@ -8871,7 +9282,12 @@ gnutls_dh_set_prime_bits
8871
9282
  Note that values lower than 512 bits may allow decryption of the
8872
9283
  exchanged data.
8873
9284
 
8874
- This function has no effect in server side.
9285
+ The function has no effect in server side.
9286
+
9287
+ Note that since 3.1.7 this function is deprecated. The minimum
9288
+ number of bits is set by the priority string level. Also this
9289
+ function must be called after `gnutls_priority_set_direct()' or
9290
+ the set value may be overriden by the selected priority options.
8875
9291
 
8876
9292
  gnutls_ecc_curve_get
8877
9293
  --------------------
@@ -8983,8 +9399,8 @@ gnutls_fingerprint
8983
9399
 
8984
9400
  This is the usual way to calculate a fingerprint of an X.509 DER
8985
9401
  encoded certificate. Note however that the fingerprint of an
8986
- OpenPGP is not just a hash and cannot be calculated with this
8987
- function.
9402
+ OpenPGP certificate is not just a hash and cannot be calculated
9403
+ with this function.
8988
9404
 
8989
9405
  *Returns:* On success, `GNUTLS_E_SUCCESS' (0) is returned,
8990
9406
  otherwise an error code is returned.
@@ -9274,6 +9690,28 @@ gnutls_handshake_set_private_extensions
9274
9690
  Enabling the private ciphersuites when talking to other than
9275
9691
  gnutls servers and clients may cause interoperability problems.
9276
9692
 
9693
+ gnutls_handshake_set_random
9694
+ ---------------------------
9695
+
9696
+ -- Function: int gnutls_handshake_set_random (gnutls_session_t
9697
+ SESSION, const gnutls_datum_t* RANDOM)
9698
+ SESSION: is a `gnutls_session_t' structure.
9699
+
9700
+ RANDOM: a random value of 32-bytes
9701
+
9702
+ This function will explicitly set the server or client hello
9703
+ random value in the subsequent TLS handshake. The random value
9704
+ should be a 32-byte value.
9705
+
9706
+ Note that this function should not normally be used as gnutls will
9707
+ select automatically a random value for the handshake.
9708
+
9709
+ This function should not be used when resuming a session.
9710
+
9711
+ *Returns:* `GNUTLS_E_SUCCESS' on success, or an error code.
9712
+
9713
+ Since 3.1.9
9714
+
9277
9715
  gnutls_handshake_set_timeout
9278
9716
  ----------------------------
9279
9717
 
@@ -9287,7 +9725,8 @@ gnutls_handshake_set_timeout
9287
9725
  provided value. Use an `ms' value of zero to disable timeout.
9288
9726
 
9289
9727
  Note that in order for the timeout to be enforced
9290
- `gnutls_transport_set_pull_timeout_function()' must be set.
9728
+ `gnutls_transport_set_pull_timeout_function()' must be set (it is
9729
+ set by default in most systems).
9291
9730
 
9292
9731
  gnutls_heartbeat_allowed
9293
9732
  ------------------------
@@ -9500,7 +9939,7 @@ gnutls_key_generate
9500
9939
 
9501
9940
  KEY_SIZE: The number of bytes of the key.
9502
9941
 
9503
- Generates a random key of `key_bytes' size.
9942
+ Generates a random key of `key_size' bytes.
9504
9943
 
9505
9944
  *Returns:* On success, `GNUTLS_E_SUCCESS' (0) is returned, or an
9506
9945
  error code.
@@ -9659,6 +10098,8 @@ gnutls_ocsp_status_request_enable_client
9659
10098
  *Returns:* On success, `GNUTLS_E_SUCCESS' (0) is returned,
9660
10099
  otherwise a negative error code is returned.
9661
10100
 
10101
+ *Since:* 3.1.3
10102
+
9662
10103
  gnutls_ocsp_status_request_get
9663
10104
  ------------------------------
9664
10105
 
@@ -9676,6 +10117,8 @@ gnutls_ocsp_status_request_get
9676
10117
  *Returns:* On success, `GNUTLS_E_SUCCESS' (0) is returned,
9677
10118
  otherwise a negative error code is returned.
9678
10119
 
10120
+ *Since:* 3.1.3
10121
+
9679
10122
  gnutls_ocsp_status_request_is_checked
9680
10123
  -------------------------------------
9681
10124
 
@@ -10493,6 +10936,50 @@ gnutls_random_art
10493
10936
  *Returns:* On success, `GNUTLS_E_SUCCESS' (0) is returned,
10494
10937
  otherwise an error code is returned.
10495
10938
 
10939
+ gnutls_range_split
10940
+ ------------------
10941
+
10942
+ -- Function: int gnutls_range_split (gnutls_session_t SESSION, const
10943
+ gnutls_range_st * ORIG, gnutls_range_st * NEXT,
10944
+ gnutls_range_st * REMAINDER)
10945
+ SESSION: is a `gnutls_session_t' structure
10946
+
10947
+ ORIG: is the original range provided by the user
10948
+
10949
+ NEXT: is the returned range that can be conveyed in a TLS record
10950
+
10951
+ REMAINDER: is the returned remaining range
10952
+
10953
+ This function should be used when it is required to hide the length
10954
+ of very long data that cannot be directly provided to
10955
+ `gnutls_record_send_range()' . In that case this function should
10956
+ be called with the desired length hiding range in `orig' . The
10957
+ returned `next' value should then be used in the next call to
10958
+ `gnutls_record_send_range()' with the partial data. That process
10959
+ should be repeated until `remainder' is (0,0).
10960
+
10961
+ *Returns:* 0 in case splitting succeeds, non zero in case of error.
10962
+ Note that `orig' is not changed, while the values of `next' and
10963
+ `remainder' are modified to store the resulting values.
10964
+
10965
+ gnutls_record_can_use_length_hiding
10966
+ -----------------------------------
10967
+
10968
+ -- Function: int gnutls_record_can_use_length_hiding (gnutls_session_t
10969
+ SESSION)
10970
+ SESSION: is a `gnutls_session_t' structure.
10971
+
10972
+ Returns true (1) if the current session supports length-hiding
10973
+ padding, false (0) if the current session does not. Returns a
10974
+ negative value in case of error. If the session supports
10975
+ length-hiding padding, you can invoke
10976
+ `gnutls_range_send_message()' to send a message whose length is
10977
+ hidden in the given range. If the session does not support length
10978
+ hiding padding, you can use the standard `gnutls_record_send()'
10979
+ function, or `gnutls_range_send_message()' making sure that the
10980
+ range is the same as the length of the message you are trying to
10981
+ send.
10982
+
10496
10983
  gnutls_record_check_pending
10497
10984
  ---------------------------
10498
10985
 
@@ -10506,6 +10993,18 @@ gnutls_record_check_pending
10506
10993
 
10507
10994
  *Returns:* Returns the size of the data or zero.
10508
10995
 
10996
+ gnutls_record_cork
10997
+ ------------------
10998
+
10999
+ -- Function: void gnutls_record_cork (gnutls_session_t SESSION)
11000
+ SESSION: is a `gnutls_session_t' structure.
11001
+
11002
+ If called `gnutls_record_send()' will no longer send partial
11003
+ records. All queued records will be sent when `gnutls_uncork()'
11004
+ is called, or when the maximum record size is reached.
11005
+
11006
+ *Since:* 3.1.9
11007
+
10509
11008
  gnutls_record_disable_padding
10510
11009
  -----------------------------
10511
11010
 
@@ -10518,8 +11017,8 @@ gnutls_record_disable_padding
10518
11017
  complain if a server pads the encrypted data. This of course will
10519
11018
  disable protection against statistical attacks on the data.
10520
11019
 
10521
- Normally only servers that require maximum compatibility with
10522
- everything out there, need to call this function.
11020
+ This functions is defunt since 3.1.7. Random padding is disabled
11021
+ by default unless requested using `gnutls_range_send_message()' .
10523
11022
 
10524
11023
  gnutls_record_get_direction
10525
11024
  ---------------------------
@@ -10643,6 +11142,56 @@ gnutls_record_send
10643
11142
  number of bytes this function can send in a single call depends on
10644
11143
  the negotiated maximum record size.
10645
11144
 
11145
+ gnutls_record_send_range
11146
+ ------------------------
11147
+
11148
+ -- Function: ssize_t gnutls_record_send_range (gnutls_session_t
11149
+ SESSION, const void * DATA, size_t DATA_SIZE, const
11150
+ gnutls_range_st * RANGE)
11151
+ SESSION: is a `gnutls_session_t' structure.
11152
+
11153
+ DATA: contains the data to send.
11154
+
11155
+ DATA_SIZE: is the length of the data.
11156
+
11157
+ RANGE: is the range of lengths in which the real data length must
11158
+ be hidden.
11159
+
11160
+ This function operates like `gnutls_record_send()' but, while
11161
+ `gnutls_record_send()' adds minimal padding to each TLS record,
11162
+ this function uses the TLS extra-padding feature to conceal the
11163
+ real data size within the range of lengths provided. Some TLS
11164
+ sessions do not support extra padding (e.g. stream ciphers in
11165
+ standard TLS or SSL3 sessions). To know whether the current
11166
+ session supports extra padding, and hence length hiding, use the
11167
+ `gnutls_record_can_use_length_hiding()' function.
11168
+
11169
+ *Note_* This function currently is only limited to blocking
11170
+ sockets.
11171
+
11172
+ *Returns:* The number of bytes sent (that is data_size in a
11173
+ successful invocation), or a negative error code.
11174
+
11175
+ gnutls_record_set_max_empty_records
11176
+ -----------------------------------
11177
+
11178
+ -- Function: void gnutls_record_set_max_empty_records
11179
+ (gnutls_session_t SESSION, const unsigned int I)
11180
+ SESSION: is a `gnutls_session_t' structure.
11181
+
11182
+ I: is the desired value of maximum empty records that can be
11183
+ accepted in a row.
11184
+
11185
+ Used to set the maximum number of empty fragments that can be
11186
+ accepted in a row. Accepting many empty fragments is useful for
11187
+ receiving length-hidden content, where empty fragments filled with
11188
+ pad are sent to hide the real length of a message. However, a
11189
+ malicious peer could send empty fragments to mount a DoS attack,
11190
+ so as a safety measure, a maximum number of empty fragments is
11191
+ accepted by default. If you know your application must accept a
11192
+ given number of empty fragments in a row, you can use this
11193
+ function to set the desired value.
11194
+
10646
11195
  gnutls_record_set_max_size
10647
11196
  --------------------------
10648
11197
 
@@ -10667,6 +11216,45 @@ gnutls_record_set_max_size
10667
11216
  *Returns:* On success, `GNUTLS_E_SUCCESS' (0) is returned,
10668
11217
  otherwise a negative error code is returned.
10669
11218
 
11219
+ gnutls_record_set_timeout
11220
+ -------------------------
11221
+
11222
+ -- Function: void gnutls_record_set_timeout (gnutls_session_t SESSION,
11223
+ unsigned int MS)
11224
+ SESSION: is a `gnutls_session_t' structure.
11225
+
11226
+ MS: is a timeout value in milliseconds
11227
+
11228
+ This function sets the receive timeout for the record layer to the
11229
+ provided value. Use an `ms' value of zero to disable timeout (the
11230
+ default).
11231
+
11232
+ Note that in order for the timeout to be enforced
11233
+ `gnutls_transport_set_pull_timeout_function()' must be set (it is
11234
+ set by default in most systems).
11235
+
11236
+ *Since:* 3.1.7
11237
+
11238
+ gnutls_record_uncork
11239
+ --------------------
11240
+
11241
+ -- Function: int gnutls_record_uncork (gnutls_session_t SESSION,
11242
+ unsigned int FLAGS)
11243
+ SESSION: is a `gnutls_session_t' structure.
11244
+
11245
+ FLAGS: Could be zero or `GNUTLS_RECORD_WAIT'
11246
+
11247
+ This resets the effect of `gnutls_cork()' , and flushes any pending
11248
+ data. If the `GNUTLS_RECORD_WAIT' flag is specified then this
11249
+ function will block until the data is sent or a fatal error occurs
11250
+ (i.e., the function will retry on `GNUTLS_E_AGAIN' and
11251
+ `GNUTLS_E_INTERRUPTED' ).
11252
+
11253
+ *Returns:* On success the number of transmitted data is returned,
11254
+ or otherwise a negative error code.
11255
+
11256
+ *Since:* 3.1.9
11257
+
10670
11258
  gnutls_rehandshake
10671
11259
  ------------------
10672
11260
 
@@ -10847,6 +11435,17 @@ gnutls_session_enable_compatibility_mode
10847
11435
  Normally only servers that require maximum compatibility with
10848
11436
  everything out there, need to call this function.
10849
11437
 
11438
+ gnutls_session_force_valid
11439
+ --------------------------
11440
+
11441
+ -- Function: void gnutls_session_force_valid (gnutls_session_t SESSION)
11442
+ SESSION: is a `gnutls_session_t' structure.
11443
+
11444
+ Clears the invalid flag in a session. That means that sessions
11445
+ were corrupt or invalid data were received can be re-used. Use
11446
+ only when debugging or experimenting with the TLS protocol. Should
11447
+ not be used in typical applications.
11448
+
10850
11449
  gnutls_session_get_data
10851
11450
  -----------------------
10852
11451
 
@@ -10887,6 +11486,21 @@ gnutls_session_get_data2
10887
11486
  *Returns:* On success, `GNUTLS_E_SUCCESS' (0) is returned,
10888
11487
  otherwise an error code is returned.
10889
11488
 
11489
+ gnutls_session_get_desc
11490
+ -----------------------
11491
+
11492
+ -- Function: char * gnutls_session_get_desc (gnutls_session_t SESSION)
11493
+ SESSION: is a gnutls session
11494
+
11495
+ This function returns a string describing the current session.
11496
+ The string is null terminated and allocated using
11497
+ `gnutls_malloc()' .
11498
+
11499
+ *Returns:* a description of the protocols and algorithms in the
11500
+ current session.
11501
+
11502
+ *Since:* 3.1.10
11503
+
10890
11504
  gnutls_session_get_id
10891
11505
  ---------------------
10892
11506
 
@@ -11881,6 +12495,37 @@ gnutls_tdb_set_verify_func
11881
12495
  gnutls_tdb_verify_func(const char* db_name, const char* host,
11882
12496
  const char* service, const gnutls_datum_t* pubkey);
11883
12497
 
12498
+ gnutls_transport_get_int
12499
+ ------------------------
12500
+
12501
+ -- Function: int gnutls_transport_get_int (gnutls_session_t SESSION)
12502
+ SESSION: is a `gnutls_session_t' structure.
12503
+
12504
+ Used to get the first argument of the transport function (like
12505
+ PUSH and PULL). This must have been set using
12506
+ `gnutls_transport_set_int()' .
12507
+
12508
+ *Returns:* The first argument of the transport function.
12509
+
12510
+ *Since:* 3.1.9
12511
+
12512
+ gnutls_transport_get_int2
12513
+ -------------------------
12514
+
12515
+ -- Function: void gnutls_transport_get_int2 (gnutls_session_t SESSION,
12516
+ int * RECV_INT, int * SEND_INT)
12517
+ SESSION: is a `gnutls_session_t' structure.
12518
+
12519
+ RECV_INT: will hold the value for the pull function
12520
+
12521
+ SEND_INT: will hold the value for the push function
12522
+
12523
+ Used to get the arguments of the transport functions (like PUSH
12524
+ and PULL). These should have been set using
12525
+ `gnutls_transport_set_int2()' .
12526
+
12527
+ *Since:* 3.1.9
12528
+
11884
12529
  gnutls_transport_get_ptr
11885
12530
  ------------------------
11886
12531
 
@@ -11948,6 +12593,38 @@ gnutls_transport_set_errno_function
11948
12593
 
11949
12594
  *Since:* 2.12.0
11950
12595
 
12596
+ gnutls_transport_set_int
12597
+ ------------------------
12598
+
12599
+ -- Function: void gnutls_transport_set_int (gnutls_session_t SESSION,
12600
+ int I)
12601
+ SESSION: is a `gnutls_session_t' structure.
12602
+
12603
+ I: is the value.
12604
+
12605
+ Used to set the first argument of the transport function (for push
12606
+ and pull callbacks) for berkeley style sockets.
12607
+
12608
+ *Since:* 3.1.9
12609
+
12610
+ gnutls_transport_set_int2
12611
+ -------------------------
12612
+
12613
+ -- Function: void gnutls_transport_set_int2 (gnutls_session_t SESSION,
12614
+ int RECV_INT, int SEND_INT)
12615
+ SESSION: is a `gnutls_session_t' structure.
12616
+
12617
+ RECV_INT: is the value for the pull function
12618
+
12619
+ SEND_INT: is the value for the push function
12620
+
12621
+ Used to set the first argument of the transport function (for push
12622
+ and pull callbacks), when using the berkeley style sockets. With
12623
+ this function you can set two different pointers for receiving and
12624
+ sending.
12625
+
12626
+ *Since:* 3.1.9
12627
+
11951
12628
  gnutls_transport_set_ptr
11952
12629
  ------------------------
11953
12630
 
@@ -12013,7 +12690,7 @@ gnutls_transport_set_pull_timeout_function
12013
12690
  not suitable for the provided transport calls. The callback
12014
12691
  function is used in DTLS only.
12015
12692
 
12016
- `gnutls_pull_timeout_func' is of the form, ssize_t
12693
+ `gnutls_pull_timeout_func' is of the form, int
12017
12694
  (*gnutls_pull_timeout_func)(gnutls_transport_ptr_t, unsigned int
12018
12695
  ms);
12019
12696