--- notify_delete-freeswan-1.97.diff	Thu Jun  6 22:23:47 2002
+++ notify_delete_1.97.diff	Thu Jun  6 08:18:41 2002
@@ -426,7 +426,7 @@
 +	    &hash_pbs))
 +	    impossible();
 +	r_hashval = hash_pbs.cur;  /* remember where to plant value */
-+	if (!out_zero(encst->st_oakley.hasher->hash_digest_len, &hash_pbs,
++	if (!out_zero(encst->st_oakley.hasher->hash_digest_size, &hash_pbs,
 +	    "HASH(1)"))
 +	    impossible();
 +	close_output_pbs(&hash_pbs);
@@ -461,7 +461,7 @@
 +
 +	DBG(DBG_CRYPT,
 +	    DBG_log("HASH(1) computed:");
-+	    DBG_dump("", r_hashval, ctx.hmac_digest_len);
++	    DBG_dump("", r_hashval, ctx.hmac_digest_size);
 +	)
 +    }
 +
@@ -841,22 +841,6 @@
  		, idtypename);
 -	    /* XXX Could send notification back */
  	    return FALSE;
-     }
- 
-@@ -1891,7 +2120,6 @@
- 	loglog(RC_LOG_SERIOUS
- 	    , "%s ID payload %s specifies protocol %u; we only support 0"
- 	    , which, idtypename, id->isaiid_protoid);
--	/* XXX Could send notification back */
- 	return FALSE;
-     }
- 
-@@ -1900,7 +2128,6 @@
- 	loglog(RC_LOG_SERIOUS
- 	    , "%s ID payload %s specifies port %u; we only support 0"
- 	    , which, idtypename, ntohs(id->isaiid_port));
--	/* XXX Could send notification back */
- 	return FALSE;
      }
  
 @@ -1918,7 +2145,6 @@


