Chromium Code Reviews| Index: nss/lib/freebl/gcm.c |
| =================================================================== |
| --- nss/lib/freebl/gcm.c (revision 195639) |
| +++ nss/lib/freebl/gcm.c (working copy) |
| @@ -577,11 +577,11 @@ |
| if (rv != SECSuccess) { |
| return SECFailure; |
| } |
| + rv = gcmHash_Sync(ghash, blocksize); |
| + if (rv != SECSuccess) { |
| + return SECFailure; |
| + } |
| } |
| - rv = gcmHash_Sync(ghash, blocksize); |
| - if (rv != SECSuccess) { |
| - return SECFailure; |
| - } |
| return SECSuccess; |
| } |