diff options
Diffstat (limited to 'net/third_party')
-rw-r--r-- | net/third_party/nss/ssl/sslplatf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/third_party/nss/ssl/sslplatf.c b/net/third_party/nss/ssl/sslplatf.c index 213feee..9ab6172 100644 --- a/net/third_party/nss/ssl/sslplatf.c +++ b/net/third_party/nss/ssl/sslplatf.c @@ -263,7 +263,7 @@ ssl3_PlatformSignHashes(SSL3Hashes *hash, PlatformKey key, SECItem *buf, PORT_SetError(SSL_ERROR_SIGN_HASHES_FAILURE); goto done; } - if (!CryptSignHash(hHash, key->dwKeySpec, NULL, CRYPT_NOHASHOID, + if (!CryptSignHash(hHash, key->dwKeySpec, NULL, 0, NULL, &signatureLen) || signatureLen == 0) { PORT_SetError(SSL_ERROR_SIGN_HASHES_FAILURE); goto done; @@ -272,7 +272,7 @@ ssl3_PlatformSignHashes(SSL3Hashes *hash, PlatformKey key, SECItem *buf, if (!buf->data) goto done; /* error code was set. */ - if (!CryptSignHash(hHash, key->dwKeySpec, NULL, CRYPT_NOHASHOID, + if (!CryptSignHash(hHash, key->dwKeySpec, NULL, 0, (BYTE*)buf->data, &signatureLen)) { PORT_SetError(SSL_ERROR_SIGN_HASHES_FAILURE); goto done; |