GnuTLS

- Related to TD-46, removed the intermediate cast to (long) that may be
  causing a truncation.  Unlikely.