fix f12 build
authorBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Thu, 17 Dec 2009 21:02:10 +0000 (21:02 +0000)
committerBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Thu, 17 Dec 2009 21:02:10 +0000 (21:02 +0000)
pcucontrol/models/intelamt/httpDigest.cpp
pcucontrol/models/intelamt/stdsoap2.cpp

index bcd9b8e..4db0415 100644 (file)
@@ -477,7 +477,7 @@ static int http_digest_fposthdr(struct soap *soap, const char *key, const char *
         else
             return soap->error = SOAP_EOM;
 
-        s1 = strstr(key, " ");
+        s1 = const_cast<char*>(strstr(key, " "));
         if (!s1) {
             return soap->error = SOAP_EOM;
         }
index 9f04f0c..6114de4 100644 (file)
@@ -3752,7 +3752,7 @@ again:
           if (!strcmp(ext_str, "subjectAltName"))
           { int j;
             STACK_OF(CONF_VALUE) *val;
-            X509V3_EXT_METHOD *meth = X509V3_EXT_get(ext);
+            const X509V3_EXT_METHOD *meth = X509V3_EXT_get(ext);
             if (!meth)
               break;
 #ifdef WIN32