Author: ogusakov
Date: Mon Mar 30 18:24:01 2009
New Revision: 760088

URL: http://svn.apache.org/viewvc?rev=760088&view=rev
Log:
[NXCM-601] - verifyStream() should not be lenient - altered

Modified:
    
maven/mercury/trunk/mercury-crypto/mercury-crypto-basic/src/main/java/org/apache/maven/mercury/crypto/pgp/PgpHelper.java

Modified: 
maven/mercury/trunk/mercury-crypto/mercury-crypto-basic/src/main/java/org/apache/maven/mercury/crypto/pgp/PgpHelper.java
URL: 
http://svn.apache.org/viewvc/maven/mercury/trunk/mercury-crypto/mercury-crypto-basic/src/main/java/org/apache/maven/mercury/crypto/pgp/PgpHelper.java?rev=760088&r1=760087&r2=760088&view=diff
==============================================================================
--- 
maven/mercury/trunk/mercury-crypto/mercury-crypto-basic/src/main/java/org/apache/maven/mercury/crypto/pgp/PgpHelper.java
 (original)
+++ 
maven/mercury/trunk/mercury-crypto/mercury-crypto-basic/src/main/java/org/apache/maven/mercury/crypto/pgp/PgpHelper.java
 Mon Mar 30 18:24:01 2009
@@ -183,7 +183,7 @@
   public static final boolean verifyStream( InputStream in, InputStream asc, 
InputStream publicKeyRingStream )
   throws IOException, StreamObserverException
   {
-      StreamVerifierAttributes attributes = new 
StreamVerifierAttributes(PgpStreamVerifierFactory.DEFAULT_EXTENSION, true, 
true);
+      StreamVerifierAttributes attributes = new 
StreamVerifierAttributes(PgpStreamVerifierFactory.DEFAULT_EXTENSION, false, 
true);
       
       PgpStreamVerifierFactory svf = new PgpStreamVerifierFactory( attributes, 
publicKeyRingStream );
 


Reply via email to