Changeset 2457


Ignore:
Timestamp:
Jan 24, 2011, 9:10:42 PM (10 years ago)
Author:
Sven Rech
Message:

keysearcher:
fixed last fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/KeySearcher/KeySearcher.cs

    r2456 r2457  
    16281628            public override bool Equals(object obj)
    16291629            {
    1630                 return (keya.SequenceEqual(keya));
     1630                if (obj != null && obj is ValueKey && keya != null && ((ValueKey)obj).keya != null)
     1631                    return (keya.SequenceEqual(((ValueKey)obj).keya));
     1632                else
     1633                    return false;
    16311634            }
    16321635
Note: See TracChangeset for help on using the changeset viewer.