TLSClient: do certification verification with old gnutls

The automatic verification for the server certificate with
gnutls_certificate_set_verify_function does only work with gnutls
>=2.9.10. So with older versions we should call the verify function
manually after the gnutls handshake.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
This commit is contained in:
Alexander Sulfrian 2014-03-17 18:50:52 +01:00 committed by Paul Beckingham
parent 5774c31dfd
commit 88b94ac2fc
3 changed files with 17 additions and 0 deletions

View file

@ -45,6 +45,8 @@ Bugs
- #1473 Make TASK_RCDIR customizable (thanks to Elias Probst).
- #1486 Truncated sentence in task-sync(5) manpage (thanks to Jakub Wilk).
- #1487 `tasksh` segmentation fault (thanks to Hector Arciga).
- Added certificate verification to GnuTLS versions < 2.9.10 (thanks to Alexander
Sulfrian)
- Removed debugging code.
------ current release ---------------------------