diff --git a/ssl/ssl.enums.c b/ssl/ssl.enums.c index 40c8377..55278b1 100644 --- a/ssl/ssl.enums.c +++ b/ssl/ssl.enums.c @@ -2498,7 +2498,7 @@ static int decode_extension_encrypt_then_mac(ssl,dir,seg,data) data->len-=l; data->data+=l; - *etm=dir==DIR_I2R?1:*etm+1; + dir==DIR_I2R?*etm=1:++*etm; return(0); } static int decode_extension_extended_master_secret(ssl,dir,seg,data) @@ -2515,7 +2515,7 @@ static int decode_extension_extended_master_secret(ssl,dir,seg,data) data->len-=l; data->data+=l; - *ems=dir==DIR_I2R?1:*ems+1; + dir==DIR_I2R?*ems=1:++*ems; return(0); } static int decode_extension(ssl,dir,seg,data)