Branch: Tag:

2014-07-31

2014-07-31 22:11:41 by Martin Nilsson <nilsson@opera.com>

We are typically only calling sign/verify once a connection, so just do the implementation selection during that call.

137:   //! from the server.   int(0..1) has_required_certificates()   { -  if (!peer_public_key) return (cipher_spec->sign == Cipher.anon_sign); +  if (!peer_public_key) +  return (cipher_spec->signature_alg == SIGNATURE_anonymous);    return 1;   }