2021-01-18 00:00:45 +00:00
|
|
|
#include "expiring_signature.h"
|
|
|
|
|
|
|
|
namespace BareMinimumCrypto {
|
|
|
|
// C++ nonsense
|
|
|
|
bool ExpiringSignature::operator == (const ExpiringSignature & o) const {
|
|
|
|
return
|
2021-01-18 22:13:48 +00:00
|
|
|
cert == o.cert &&
|
2021-01-18 00:00:45 +00:00
|
|
|
sig == o.sig
|
|
|
|
;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool ExpiringSignature::operator != (const ExpiringSignature & o) const {
|
|
|
|
return ! (*this == o);
|
|
|
|
}
|
|
|
|
}
|