diff options
author | wtc%google.com <devnull@localhost> | 2008-02-06 17:08:06 +0000 |
---|---|---|
committer | wtc%google.com <devnull@localhost> | 2008-02-06 17:08:06 +0000 |
commit | bb889af9ab76745e0b58d695472060cea58d8410 (patch) | |
tree | 2c0d185ce6f6eed5a3c1d1fa3db0a3f64ec6bf20 | |
parent | 0ae7658ff284edfbf644dae9e7cc8e0531b085ce (diff) | |
download | nss-hg-bb889af9ab76745e0b58d695472060cea58d8410.tar.gz |
Visual C++ seems to treat enums as signed integers. A signed 1-bit bit
field has values -1 and 0. We want 0 and 1, so we need to use either use
an unsigned bit field or not use a bit field.
-rw-r--r-- | security/nss/lib/ssl/ssl3prot.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/ssl/ssl3prot.h b/security/nss/lib/ssl/ssl3prot.h index ff07b6e1d..38fb1c0c0 100644 --- a/security/nss/lib/ssl/ssl3prot.h +++ b/security/nss/lib/ssl/ssl3prot.h @@ -327,7 +327,7 @@ typedef enum { } ClientAuthenticationType; typedef struct { - ClientAuthenticationType client_auth_type : 1; + ClientAuthenticationType client_auth_type; union { SSL3Opaque *certificate_list; } identity; |