1 --- src/racoon/gssapi.c.orig 2015-05-19 16:38:06 UTC 2 +++ src/racoon/gssapi.c 3 @@ -192,6 +192,11 @@ gssapi_init(struct ph1handle *iph1) 4 gss_name_t princ, canon_princ; 5 OM_uint32 maj_stat, min_stat; 6 7 + if (iph1->rmconf == NULL) { 8 + plog(LLV_ERROR, LOCATION, NULL, "no remote config\n"); 9 + return -1; 10 + } 11 + 12 gps = racoon_calloc(1, sizeof (struct gssapi_ph1_state)); 13 if (gps == NULL) { 14 plog(LLV_ERROR, LOCATION, NULL, "racoon_calloc failed\n"); 15