diff options
author | Mark DeLillo <github.med@delillo.org> | 2018-02-25 14:03:32 -0500 |
---|---|---|
committer | Mark DeLillo <github.med@delillo.org> | 2018-02-25 14:03:32 -0500 |
commit | 779c88d4a407d3628f903e7c53ad5b4237ac618a (patch) | |
tree | 40450a263ff131dd619b938df6f389a73411404e /_examples/context | |
parent | 886dc83f3ed518a78772055497bcc7d7621b468e (diff) | |
download | go-git-779c88d4a407d3628f903e7c53ad5b4237ac618a.tar.gz |
Return error when creating public keys from invalid PEM
* pem.Decode will return nil in this case, and passing that to x509.IsEncryptedBlock will cause it to panic
Signed-off-by: Mark DeLillo <github.med@delillo.org>
Diffstat (limited to '_examples/context')
0 files changed, 0 insertions, 0 deletions