Chromium Code Reviews| Index: nss/lib/cryptohi/secsign.c |
| =================================================================== |
| --- nss/lib/cryptohi/secsign.c (revision 195639) |
| +++ nss/lib/cryptohi/secsign.c (working copy) |
| @@ -55,13 +55,6 @@ |
| return 0; |
| } |
| -#ifndef NSS_ECC_MORE_THAN_SUITE_B |
| - if (key->keyType == ecKey) { |
| - PORT_SetError(SEC_ERROR_INVALID_ALGORITHM); |
| - return 0; |
| - } |
| -#endif |
| - |
| cx = (SGNContext*) PORT_ZAlloc(sizeof(SGNContext)); |
| if (cx) { |
| cx->hashalg = hashalg; |