Home GnuPG

cpp: Fix version info comparison

Description

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.

Details

Provenance
aheineckeAuthored on Sep 4 2017, 11:23 AM
Parents
rGPGMEPP270a8dc4e8d3: cpp: Fix Key::isDeVs for subkeys
Branches
Unknown
Tags
Unknown