summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2015-04-22 11:49:02 -0230
committerMatthew Newhook <matthew@zeroc.com>2015-04-22 11:49:02 -0230
commit03d05a0c5a1e4f59fdca6f1e6926b70c0a2a2e00 (patch)
tree67a59e9688d4fc3fa9184c845a022b29a4ff3bd3 /cpp
parentICE-6426 - adding a note to the changelog (diff)
downloadice-03d05a0c5a1e4f59fdca6f1e6926b70c0a2a2e00.tar.bz2
ice-03d05a0c5a1e4f59fdca6f1e6926b70c0a2a2e00.tar.xz
ice-03d05a0c5a1e4f59fdca6f1e6926b70c0a2a2e00.zip
ICE-6457
Windows python dev tree build is broken
Diffstat (limited to 'cpp')
-rwxr-xr-xcpp/config/Make.rules.mak2
-rw-r--r--cpp/src/IceSSL/Util.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/cpp/config/Make.rules.mak b/cpp/config/Make.rules.mak
index 57ba5372e77..3993f39f87b 100755
--- a/cpp/config/Make.rules.mak
+++ b/cpp/config/Make.rules.mak
@@ -17,7 +17,7 @@ prefix = C:\Ice-$(VERSION)
# Define OPTIMIZE as yes if you want to build with
# optimization. Otherwise Ice is build with debug information.
#
-#OPTIMIZE = yes
+OPTIMIZE = yes
#
# Define if you want pdb files to be generated for optimized/release
diff --git a/cpp/src/IceSSL/Util.cpp b/cpp/src/IceSSL/Util.cpp
index f87e361c194..06ee07cfece 100644
--- a/cpp/src/IceSSL/Util.cpp
+++ b/cpp/src/IceSSL/Util.cpp
@@ -1136,7 +1136,7 @@ IceSSL::findCertificates(const string& prop, const string& storeSpec, const stri
IceUtilInternal::lastErrorToString());
}
- CERT_NAME_BLOB name { length, &buffer[0] };
+ CERT_NAME_BLOB name = { length, &buffer[0] };
DWORD findType = field == "SUBJECTDN" ? CERT_FIND_SUBJECT_NAME : CERT_FIND_ISSUER_NAME;
addMatchingCertificates(store, tmpStore, findType, &name);