change error string 99/10199/1 accepted/tizen/ivi/stable accepted/tizen_generic accepted/tizen_ivi_panda tizen_3.0.m14.2_ivi tizen_ivi_panda accepted/tizen/20130924.222314 accepted/tizen/20130924.222328 accepted/tizen/20130925.002452 accepted/tizen/ivi/panda/20140403.014041 submit/tizen/20130924.214541 submit/tizen_ivi_panda/20140403.012124 tizen_3.0.m14.2_ivi_release
authorcc1.yim <cc1.yim@samsung.com>
Tue, 24 Sep 2013 07:05:50 +0000 (16:05 +0900)
committercc1.yim <cc1.yim@samsung.com>
Tue, 24 Sep 2013 07:05:57 +0000 (16:05 +0900)
Change-Id: Ia683bab4a158764fc674110f7f32cbe742684e62
Signed-off-by: cc1.yim <cc1.yim@samsung.com>
include/xmlsec/keyinfo.h
src/io.c

index 19dcbb9..711195f 100644 (file)
@@ -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
 
index 77344c0..79ee3a6 100644 (file)
--- a/src/io.c
+++ b/src/io.c
@@ -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;