From 58d7bcead3394fa80c2a05d0d1e0fb4d9a1048b0 Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Mon, 4 Sep 2017 11:23:56 +0200 Subject: cpp: Fix version info comparison * lang/cpp/src/engineinfo.h (EngineInfo::Version::operator<): Fix logic. * lang/cpp/src/engineinfo.h (EngineInfo::Version::operator>): New. * NEWS: Mention added API -- This fixes a logic error that 2.2.0 < 2.1.19 would return true. --- NEWS | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 71d96001..aee3f100 100644 --- a/NEWS +++ b/NEWS @@ -12,8 +12,9 @@ Noteworthy changes in version 1.10.0 (unreleased) GPGME_DELETE_FORCE NEW. gpgme_op_conf_dir NEW. gpgme_set_ctx_flag EXTENDED: New flag 'auto-key-retrieve'. - cpp: DecryptionResult::isDeVs NEW. - cpp: Signature::isDeVs NEW. + cpp: DecryptionResult::isDeVs NEW. + cpp: Signature::isDeVs NEW. + cpp: EngineInfo::Version::operator> NEW. py: DecryptResult EXTENDED: New boolean field 'is_de_vs'. py: Signature EXTENDED: New boolean field 'is_de_vs'. py: GpgError EXTENDED: Partial results in 'results'. -- cgit v1.2.3