File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -724,7 +724,7 @@ private static void mulX(byte[] pValue)
724
724
{
725
725
byte myValue = pValue [ i ] ;
726
726
pValue [ i ] = ( byte ) ( ( ( myValue >> 1 ) & ~ MASK ) | myMask ) ;
727
- myMask = ( byte ) ( ( myValue & 1 ) == 0 ? 0 : MASK ) ;
727
+ myMask = ( byte ) ( ( myValue & 1 ) == 0 ? ( byte ) 0 : MASK ) ;
728
728
}
729
729
730
730
/* Xor in addition if last bit was set */
Original file line number Diff line number Diff line change @@ -274,6 +274,9 @@ private void testFF3_1w()
274
274
275
275
private void testDisable ( )
276
276
{
277
+ #if NETCF_1_0 || NETCF_2_0 || SILVERLIGHT || ( PORTABLE && ! DOTNET ) || NET_1_1
278
+ // Can't SetEnvironmentVariable !
279
+ #else
277
280
Environment . SetEnvironmentVariable ( "org.bouncycastle.fpe.disable" , "true" ) ;
278
281
try
279
282
{
@@ -309,6 +312,7 @@ private void testDisable()
309
312
310
313
testFF3_1 ( ) ;
311
314
Environment . SetEnvironmentVariable ( "org.bouncycastle.fpe.disable_ff1" , "false" ) ;
315
+ #endif
312
316
}
313
317
314
318
private void testFF3_1_255 ( )
You can’t perform that action at this time.
0 commit comments