Added support for multiple PublicKey instances in the config
[silc.git] / apps / silcd / server_internal.h
index d35c5d8a09f3e60530ec30121c5d39d9c9eb3aae..b0d38cb1473604d776f351462d8de85d0c6f00c1 100644 (file)
@@ -179,7 +179,7 @@ do {                                                \
   if ((x)) {                                           \
     if ((x)->param && (x)->param->key_exchange_pfs)    \
       (p)->flags |= SILC_SKE_SP_FLAG_PFS;              \
-    if (!(x)->publickey                              \
+    if (!(x)->publickeys)                              \
       (p)->flags |= SILC_SKE_SP_FLAG_MUTUAL;           \
   }