Author: nextgens
Date: 2006-09-06 11:23:57 +0000 (Wed, 06 Sep 2006)
New Revision: 10403

Modified:
   trunk/freenet/src/freenet/node/PeerNode.java
   trunk/freenet/src/freenet/node/Version.java
Log:
968:
        DOH!

Modified: trunk/freenet/src/freenet/node/PeerNode.java
===================================================================
--- trunk/freenet/src/freenet/node/PeerNode.java        2006-09-06 11:19:25 UTC 
(rev 10402)
+++ trunk/freenet/src/freenet/node/PeerNode.java        2006-09-06 11:23:57 UTC 
(rev 10403)
@@ -412,16 +412,12 @@
                if(signature == null || !DSA.verify(peerPubKey, new 
DSASignature(signature), new BigInteger(fs.toOrderedString().getBytes()))){
                        Logger.error(this, "The integrity of the reference has 
been compromized!");
                        this.isSignatureVerificationSuccessfull = false;
-                       throw new ReferenceSignatureVerificationException("The 
integrity of the reference has been compromized!");
+                       //FIXME : REMOVE: throw new 
ReferenceSignatureVerificationException("The integrity of the reference has 
been compromized!");
                }else
                        this.isSignatureVerificationSuccessfull = true;
         } catch (IllegalBase64Exception e) {
                Logger.error(this, "Caught "+e, e);
                throw new FSParseException(e);
-        } catch (NullPointerException npe){
-               /* FIXME: REMOVE: backward compatibility hack */
-               Logger.normal(this, "Probably trying to add an old reference : 
"+npe);
-               this.isSignatureVerificationSuccessfull=false;
         }

         /* FIXME: All the following is useless once we have definitely 
switched to STS! */

Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2006-09-06 11:19:25 UTC (rev 
10402)
+++ trunk/freenet/src/freenet/node/Version.java 2006-09-06 11:23:57 UTC (rev 
10403)
@@ -21,11 +21,11 @@
        public static final String protocolVersion = "1.0";

        /** The build number of the current revision */
-       private static final int buildNumber = 967;
+       private static final int buildNumber = 968;

        /** Oldest build of Fred we will talk to */
        private static final int oldLastGoodBuild = 950;
-       private static final int newLastGoodBuild = 967;
+       private static final int newLastGoodBuild = 968;
        private static final long transitionTime;

        static {


Reply via email to