summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
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);