[xmlsec] fix version check
- From: Aleksey Sanin <aleksey src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [xmlsec] fix version check
- Date: Tue, 24 Jul 2012 01:48:36 +0000 (UTC)
commit 0c1e4203812ceb36beb730e86860946d9c6afa03
Author: Aleksey Sanin <aleksey aleksey com>
Date: Mon Jul 23 18:48:28 2012 -0700
fix version check
src/xmlsec.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/xmlsec.c b/src/xmlsec.c
index 2f7e7f6..8b6d0ca 100644
--- a/src/xmlsec.c
+++ b/src/xmlsec.c
@@ -164,9 +164,9 @@ xmlSecCheckVersionExt(int major, int minor, int subminor, xmlSecCheckVersionMode
}
break;
case xmlSecCheckVersionABICompatible:
- if((minor < XMLSEC_VERSION_MINOR) ||
+ if((minor > XMLSEC_VERSION_MINOR) ||
((minor == XMLSEC_VERSION_MINOR) &&
- (subminor < XMLSEC_VERSION_SUBMINOR))) {
+ (subminor > XMLSEC_VERSION_SUBMINOR))) {
xmlSecError(XMLSEC_ERRORS_HERE,
NULL,
NULL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]