~ubuntu-branches/debian/stretch/libtorrent/stretch

« back to all changes in this revision

Viewing changes to src/protocol/handshake_encryption.cc

  • Committer: Package Import Robot
  • Author(s): Jose Luis Rivas, Jonathan McDowell, Jose Luis Rivas
  • Date: 2015-09-30 04:03:36 UTC
  • mfrom: (1.3.7) (7.1.10 sid)
  • Revision ID: package-import@ubuntu.com-20150930040336-3u97dzmsdtd3jx03
Tags: 0.13.6-1
[ Jonathan McDowell ]
* Remove Benoît Knecht from Uploaders. Closes: #779430.

[ Jose Luis Rivas ]
* New upstream version.
* debian/watch now uses github.
* Bumped package to match the soname change. Closes: #797866.
  (urgency=medium since this is an RC-bug, gcc5 transition)
* Removed patches, they were already applied upstream.
* Updated homepage.

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
  return (m_options & ConnectionManager::encryption_enable_retry) != 0 && m_retry != HandshakeEncryption::RETRY_NONE;
70
70
}
71
71
 
72
 
void
 
72
bool
73
73
HandshakeEncryption::initialize() {
74
74
  m_key = new DiffieHellman(dh_prime, dh_prime_length, dh_generator, dh_generator_length);
 
75
 
 
76
  return m_key->is_valid();
75
77
}
76
78
 
77
79
void