summaryrefslogtreecommitdiffstats
path: root/base/tps/src/processor/RA_Processor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'base/tps/src/processor/RA_Processor.cpp')
-rw-r--r--base/tps/src/processor/RA_Processor.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/base/tps/src/processor/RA_Processor.cpp b/base/tps/src/processor/RA_Processor.cpp
index 5395d82b9..435e628cf 100644
--- a/base/tps/src/processor/RA_Processor.cpp
+++ b/base/tps/src/processor/RA_Processor.cpp
@@ -3144,9 +3144,12 @@ locale),
int defKeyIndex = RA::GetConfigStore()->GetConfigAsInt(configname, 0x0);
channel = SetupSecureChannel(session, 0x00,
defKeyIndex /* default key index */, connid);
- rc = channel->ExternalAuthenticate();
+
if (channel != NULL) {
char issuer[224];
+
+ rc = channel->ExternalAuthenticate();
+
for (int i = 0; i < 224; i++) {
issuer[i] = 0;
}