equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
365 throw tr.clientExc; |
365 throw tr.clientExc; |
366 } else if (tr.serverExc != null) { |
366 } else if (tr.serverExc != null) { |
367 throw tr.serverExc; |
367 throw tr.serverExc; |
368 } |
368 } |
369 |
369 |
|
370 // make sure getSoftFailExceptions is not empty |
|
371 if (cliParams.revChecker.getSoftFailExceptions().isEmpty()) { |
|
372 throw new Exception("No soft fail exceptions"); |
|
373 } |
|
374 |
370 System.out.println(" PASS"); |
375 System.out.println(" PASS"); |
371 System.out.println("=======================================\n"); |
376 System.out.println("=======================================\n"); |
|
377 |
372 |
378 |
373 // Make OCSP responders accept connections |
379 // Make OCSP responders accept connections |
374 intOcsp.acceptConnections(); |
380 intOcsp.acceptConnections(); |
375 rootOcsp.acceptConnections(); |
381 rootOcsp.acceptConnections(); |
376 |
382 |