From 124d64c9cac5439ca2a7ca19902666e2d28b419c Mon Sep 17 00:00:00 2001 From: daxpedda Date: Fri, 16 Jul 2021 14:23:36 +0200 Subject: [PATCH] Fix 1.41 compilation --- src/opaque.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/opaque.rs b/src/opaque.rs index 55db045..7c3bd4d 100644 --- a/src/opaque.rs +++ b/src/opaque.rs @@ -51,7 +51,13 @@ pub struct ServerSetup { pub(crate) fake_keypair: KeyPair, } -impl>, G: Group> ServerSetup { +impl< + CS: CipherSuite>, + G: Group + GroupWithMapToCurve::OutputSize>, + > ServerSetup +where + ::KeyExchange: KeyExchange<::Hash, G>, +{ /// Generate a new instance of server setup pub fn new(rng: &mut R) -> Self { let mut seed = vec![0u8; ::OutputSize::to_usize()];