Open Bug 959764 Opened 10 years ago Updated 6 months ago

SSL_OptionSet/Get should take int for flags rather than bool

Categories

(NSS :: Libraries, enhancement, P5)

x86_64
Linux
enhancement

Tracking

(Not tracked)

People

(Reporter: mcmanus, Unassigned)

Details

from 959664

> +#define SSL_ENABLE_NEXT_PROTOCOL_NEGOTIATION 25 /* Client use NPN */
> +#define SSL_ENABLE_ALTERNATE_PROTOCOL_NEGOTIATION 26 /* Client use ALPN */

Note that the approach I mentioned in bug 890994 comment 5 would have also been OK and probably better. it is true that the third argument to SSL_OptionSet is a PRBool, but we already have support passing in non-boolean values for it due to the SSL_ENABLE_RENEGOTIATION option. So, we should instead just change the type of that parameter to PRUInt32 or whatever PRBool is typedefed to be. (In a separate bug.)
Severity: normal → S3
Severity: S3 → N/A
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.