dedis / onet

Overlay Network for distributed protocols
GNU Lesser General Public License v3.0
50 stars 29 forks source link

Improve error handling #645

Closed ineiti closed 4 years ago

ineiti commented 4 years ago

the ServerIdentity.Equal method can panic if the given argument has a nil Point.

This PR makes sure that if any of the variables are nil, the method Equal returns false.