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