mark all block comments that need format preserving so that
indent will not alter them when reformatting comments
(cherry picked from commit 1d97c84351
)
Conflicts:
crypto/bn/bn_lcl.h
crypto/bn/bn_prime.c
crypto/engine/eng_all.c
crypto/rc4/rc4_utl.c
crypto/sha/sha.h
ssl/kssl.c
ssl/t1_lib.c
Reviewed-by: Tim Hudson <tjh@openssl.org>
This commit is contained in:
@@ -1944,12 +1944,14 @@ int SSL_COMP_add_compression_method(int id, COMP_METHOD *cm)
|
||||
if (cm == NULL || cm->type == NID_undef)
|
||||
return 1;
|
||||
|
||||
/* According to draft-ietf-tls-compression-04.txt, the
|
||||
compression number ranges should be the following:
|
||||
|
||||
0 to 63: methods defined by the IETF
|
||||
64 to 192: external party methods assigned by IANA
|
||||
193 to 255: reserved for private use */
|
||||
/*-
|
||||
* According to draft-ietf-tls-compression-04.txt, the
|
||||
* compression number ranges should be the following:
|
||||
*
|
||||
* 0 to 63: methods defined by the IETF
|
||||
* 64 to 192: external party methods assigned by IANA
|
||||
* 193 to 255: reserved for private use
|
||||
*/
|
||||
if (id < 193 || id > 255)
|
||||
{
|
||||
SSLerr(SSL_F_SSL_COMP_ADD_COMPRESSION_METHOD,SSL_R_COMPRESSION_ID_NOT_WITHIN_PRIVATE_RANGE);
|
||||
|
Reference in New Issue
Block a user