Bug 506091 - [http] Can't configure both http and https

Signed-off-by: Raymond Auge <raymond.auge@liferay.com>
diff --git a/bundles/org.eclipse.equinox.http.jetty9/src/org/eclipse/equinox/http/jetty/internal/Activator.java b/bundles/org.eclipse.equinox.http.jetty9/src/org/eclipse/equinox/http/jetty/internal/Activator.java
index 4ccd799..f9e59b2 100644
--- a/bundles/org.eclipse.equinox.http.jetty9/src/org/eclipse/equinox/http/jetty/internal/Activator.java
+++ b/bundles/org.eclipse.equinox.http.jetty9/src/org/eclipse/equinox/http/jetty/internal/Activator.java
@@ -134,7 +134,7 @@
 		if (httpsEnabled.booleanValue()) {
 			// HTTPS Port
 
-			int httpsPort = Details.getIntProp(context, JettyConstants.HTTP_PORT, -1);
+			int httpsPort = Details.getIntProp(context, JettyConstants.HTTPS_PORT, -1);
 			if (httpsPort == -1)
 				httpsPort = Details.getInt(context, ORG_OSGI_SERVICE_HTTP_PORT_SECURE, 443);
 			defaultSettings.put(JettyConstants.HTTPS_PORT, Integer.valueOf(httpsPort));