]> source.dussan.org Git - jgit.git/commit
PushCertificateParser: Make pushee optional 08/51208/9
authorDave Borowitz <dborowitz@google.com>
Wed, 1 Jul 2015 18:44:09 +0000 (11:44 -0700)
committerDave Borowitz <dborowitz@google.com>
Thu, 9 Jul 2015 18:05:45 +0000 (11:05 -0700)
commit8293c770b5289eb89753a319c3c22217627200a0
tree7c8383c1b83f548134d64fdf9fc919bafe197399
parentf22f33f5bfbfb616a59006ac7bcb3810fdac4619
PushCertificateParser: Make pushee optional

When pushing to an HTTP server using the C git client, I observed a
certificate lacking a pushee field. Handle this gracefully in the
parser.

Change-Id: I7f3c5fa78f2e35172a93180036e679687415cac4
org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/PushCertificateParserTest.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/PushCertificate.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/PushCertificateParser.java