Chromium Code Reviews| Index: nss/lib/certhigh/certvfy.c |
| =================================================================== |
| --- nss/lib/certhigh/certvfy.c (revision 233722) |
| +++ nss/lib/certhigh/certvfy.c (working copy) |
| @@ -1355,7 +1355,7 @@ |
| PORT_SetError(SEC_ERROR_UNTRUSTED_CERT); |
| LOG_ERROR_OR_EXIT(log,cert,0,flags); |
| } else if (trusted) { |
| - goto winner; |
| + goto done; |
| } |
| @@ -1383,7 +1383,10 @@ |
| } |
| } |
| -winner: |
| +done: |
| + if (log && log->head) { |
| + return SECFailure; |
| + } |
| return(SECSuccess); |
| loser: |