ptth/bare_minimum_crypto/cpp/expiring_signature.cpp

16 lines
319 B
C++

#include "expiring_signature.h"
namespace BareMinimumCrypto {
// C++ nonsense
bool ExpiringSignature::operator == (const ExpiringSignature & o) const {
return
cert_s == o.cert_s &&
sig == o.sig
;
}
bool ExpiringSignature::operator != (const ExpiringSignature & o) const {
return ! (*this == o);
}
}