removed parenthesis and added more detailed error description

This commit is contained in:
Jan Rüth
2017-05-12 14:14:27 +02:00
parent 6a0b2d04d6
commit 7465ee128d

View File

@@ -73,8 +73,8 @@ func (s *serverConfigClient) parseValues(tagMap map[Tag][]byte) error {
break
}
}
if (c255Foundat < 0) {
return qerr.Error(qerr.CryptoNoSupport, "KEXS")
if c255Foundat < 0 {
return qerr.Error(qerr.CryptoNoSupport, "KEXS: Could not find C255, other key exchanges are not supported")
}
// AEAD