"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "nss/lib/ssl/ssl3exthandle.c" between
nss-3.61.tar.gz and nss-3.62.tar.gz

About: NSS is a set of libraries, APIs, utilities, and documentation designed to support cross-platform development of security-enabled client and server applications. It provides a complete implementation of the crypto libraries used by Mozilla and other companies.

ssl3exthandle.c  (nss-3.61):ssl3exthandle.c  (nss-3.62)
skipping to change at line 924 skipping to change at line 924
/* Read cipher spec parameters. */ /* Read cipher spec parameters. */
rv = ssl3_ExtConsumeHandshakeNumber(ss, &temp, 1, &buffer, &len); rv = ssl3_ExtConsumeHandshakeNumber(ss, &temp, 1, &buffer, &len);
if (rv != SECSuccess) { if (rv != SECSuccess) {
PORT_SetError(SEC_ERROR_LIBRARY_FAILURE); PORT_SetError(SEC_ERROR_LIBRARY_FAILURE);
return SECFailure; return SECFailure;
} }
#ifndef UNSAFE_FUZZER_MODE #ifndef UNSAFE_FUZZER_MODE
PORT_Assert(temp < ssl_auth_size); PORT_Assert(temp < ssl_auth_size);
#else #else
temp %= (8 * sizeof(SSLAuthType)); temp %= (8 * sizeof(SSLAuthType)) - 1;
#endif #endif
parsedTicket->authType = (SSLAuthType)temp; parsedTicket->authType = (SSLAuthType)temp;
rv = ssl3_ExtConsumeHandshakeNumber(ss, &temp, 4, &buffer, &len); rv = ssl3_ExtConsumeHandshakeNumber(ss, &temp, 4, &buffer, &len);
if (rv != SECSuccess) { if (rv != SECSuccess) {
PORT_SetError(SEC_ERROR_LIBRARY_FAILURE); PORT_SetError(SEC_ERROR_LIBRARY_FAILURE);
return SECFailure; return SECFailure;
} }
parsedTicket->authKeyBits = temp; parsedTicket->authKeyBits = temp;
rv = ssl3_ExtConsumeHandshakeNumber(ss, &temp, 1, &buffer, &len); rv = ssl3_ExtConsumeHandshakeNumber(ss, &temp, 1, &buffer, &len);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)