Changeset 3adbea9 for core/java


Ignore:
Timestamp:
Aug 25, 2018 10:26:47 PM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
db54edc
Parents:
483f043
Message:

Better message on su3 certificate errors

File:
1 edited

Legend:

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

    r483f043 r3adbea9  
    325325                    _signerPubkey = ring.getKey(_signer, _contentType.getName(), _sigType);
    326326                } catch (GeneralSecurityException gse) {
    327                     IOException ioe = new IOException("keystore error");
     327                    IOException ioe = new IOException("Certificate error for " + _signer + ": " + gse);
    328328                    ioe.initCause(gse);
    329329                    throw ioe;
     
    339339                            _signerPubkey = ring.getKey(_signer, _contentType.getName(), _sigType);
    340340                        } catch (GeneralSecurityException gse) {
    341                             IOException ioe = new IOException("keystore error");
     341                            IOException ioe = new IOException("Certificate error for " + _signer + ": " + gse);
    342342                            ioe.initCause(gse);
    343343                            throw ioe;
Note: See TracChangeset for help on using the changeset viewer.