-// Copyright (C) 2012-2014 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2012-2015 Internet Systems Consortium, Inc. ("ISC")
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// PERFORMANCE OF THIS SOFTWARE.
-#include <config.h>
-
#include <dns/master_loader.h>
#include <dns/master_lexer.h>
#include <dns/name.h>
-// Copyright (C) 2012 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2012, 2015 Internet Systems Consortium, Inc. ("ISC")
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
const size_t other_len = other_dnskey.impl_->keydata_.size();
const size_t cmplen = min(this_len, other_len);
if (cmplen == 0) {
- return ((this_len == other_len) ? 0 : (this_len < other_len) ? -1 : 1);
+ return ((this_len == other_len) ? 0 : (this_len < other_len) ? -1 : 1);
}
const int cmp = memcmp(&impl_->keydata_[0],
&other_dnskey.impl_->keydata_[0], cmplen);