TLS initialization fix 90/8490/1
authorMichal Polkorab <michal.polkorab@pantheon.sk>
Tue, 1 Jul 2014 12:08:47 +0000 (14:08 +0200)
committerMichal Polkorab <michal.polkorab@pantheon.sk>
Tue, 1 Jul 2014 12:08:54 +0000 (14:08 +0200)
 - fixed TlsConfiguration object creation - now null instead of empty object

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
openflow-protocol-impl/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/openflow/_switch/connection/provider/impl/rev140328/SwitchConnectionProviderModule.java

index 45fed553f87e823a133190d95e19d45dac6b9dae..bf8c600f1ec689cefe24297f993390e7ef1cc8e8 100644 (file)
@@ -94,6 +94,9 @@ public final class SwitchConnectionProviderModule extends org.opendaylight.yang.
             }
             @Override
             public TlsConfiguration getTlsConfiguration() {
+                if (tlsConfig == null) {
+                    return null;
+                }
                 return new TlsConfiguration() {
                     @Override
                     public KeystoreType getTlsTruststoreType() {