Skip to content

Commit

Permalink
Bug 1117022: Fix a "variable set but not used" compiler warning in
Browse files Browse the repository at this point in the history
NSC_DeriveKey. r=rbarnes,rrelyea.
  • Loading branch information
wantehchang committed Aug 25, 2015
1 parent 2a4b69f commit 24b0f15
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/softoken/pkcs11c.c
Expand Up @@ -6207,6 +6207,10 @@ CK_RV NSC_DeriveKey( CK_SESSION_HANDLE hSession,
status = TLS_P_hash(tlsPrfHash, &pms, "extended master secret",
&seed, &master, isFIPS);
}
if (status != SECSuccess) {
crv = CKR_FUNCTION_FAILED;
break;
}

/* Reflect the version if required, and the input looks like a PMS */
if (ems_params->pVersion) {
Expand Down

0 comments on commit 24b0f15

Please sign in to comment.