Changeset 39aa2c5 for core


Ignore:
Timestamp:
Sep 26, 2018 2:04:36 PM (21 months ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
f7ae675
Parents:
34f0d7d7
Message:

Utils: Enhance exception message for ticket #2296

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/crypto/SigUtil.java

    r34f0d7d7 r39aa2c5  
    191191                type = SigType.ECDSA_SHA512_P521;
    192192            else
    193                 throw new IllegalArgumentException("Unknown EC type");
     193                throw new IllegalArgumentException("Unknown EC type: " + pk.getClass() + " spec: " + spec.getClass());
    194194            return fromJavaKey(k, type);
    195195        }
Note: See TracChangeset for help on using the changeset viewer.