diff options
author | cc1.yim <cc1.yim@samsung.com> | 2013-09-24 16:05:50 +0900 |
---|---|---|
committer | cc1.yim <cc1.yim@samsung.com> | 2013-09-24 16:05:57 +0900 |
commit | 7b7585191ce737478b7cbe2541ba2aa2b2b64a75 (patch) | |
tree | d5856df5e21f3e32aa1f9f58af7a3f935d8e3cfe | |
parent | ce83212e0cd5d85c6c725443a30384985fb48b72 (diff) | |
download | xmlsec1-7b7585191ce737478b7cbe2541ba2aa2b2b64a75.tar.gz xmlsec1-7b7585191ce737478b7cbe2541ba2aa2b2b64a75.tar.bz2 xmlsec1-7b7585191ce737478b7cbe2541ba2aa2b2b64a75.zip |
change error stringtizen_3.0.m14.2_ivi_releasesubmit/tizen_ivi_panda/20140403.012124submit/tizen/20130924.214541accepted/tizen/ivi/panda/20140403.014041accepted/tizen/20130925.002452accepted/tizen/20130924.222328accepted/tizen/20130924.222314tizen_ivi_pandatizen_3.0.m14.2_iviaccepted/tizen_ivi_pandaaccepted/tizen_genericaccepted/tizen/ivi/stable
Change-Id: Ia683bab4a158764fc674110f7f32cbe742684e62
Signed-off-by: cc1.yim <cc1.yim@samsung.com>
-rw-r--r-- | include/xmlsec/keyinfo.h | 9 | ||||
-rw-r--r-- | src/io.c | 4 |
2 files changed, 10 insertions, 3 deletions
diff --git a/include/xmlsec/keyinfo.h b/include/xmlsec/keyinfo.h index 19dcbb93..711195fc 100644 --- a/include/xmlsec/keyinfo.h +++ b/include/xmlsec/keyinfo.h @@ -154,7 +154,14 @@ typedef enum { */ #define XMLSEC_KEYINFO_FLAGS_X509DATA_SKIP_STRICT_CHECKS 0x00004000 - +/** + * XMLSEC_KEYINFO_FLAGS_SKIP_VERIFY_CHAIN: + * + * If the flag is set then we wont stop document validation + * on certificate chain error. Instead of stopping validation + * we'll just set flag XMLSEC_KEYINFO_ERROR_FLAGS_BROKEN_CHAIN + * as flags2 value. + */ #define XMLSEC_KEYINFO_FLAGS_ALLOW_BROKEN_CHAIN 0x00008000 #define XMLSEC_KEYINFO_ERROR_FLAGS_BROKEN_CHAIN 0x00000001 @@ -424,7 +424,7 @@ xmlSecTransformInputURIOpen(xmlSecTransformPtr transform, const xmlChar *uri) { xmlSecErrorsSafeString(xmlSecTransformGetName(transform)), "opencallback", XMLSEC_ERRORS_R_IO_FAILED, - "uri=%s;errno=%d", + "uri=%s;error=%s", xmlSecErrorsSafeString(uri), strerror(errno)); return(-1); @@ -484,7 +484,7 @@ xmlSecTransformInputURIPopBin(xmlSecTransformPtr transform, xmlSecByte* data, xmlSecErrorsSafeString(xmlSecTransformGetName(transform)), "readcallback", XMLSEC_ERRORS_R_IO_FAILED, - "errno=%d", strerror(errno)); + "error=%s", strerror(errno)); return(-1); } (*dataSize) = ret; |