Otherwise it will log that we chose the (invalid) type 0.
break;
}
- vlog.info("Choosing security type %s (%d)", secTypeName(chosenType),
- chosenType);
-
/* Set up the stack according to the chosen type: */
if (chosenType == secTypeInvalid || chosenType == secTypeVeNCrypt)
throw AuthFailureException("No valid VeNCrypt sub-type");
+ vlog.info("Choosing security type %s (%d)", secTypeName(chosenType),
+ chosenType);
+
csecurity = security->GetCSecurity(cc, chosenType);
/* send chosen type to server */