- add sources.
[platform/framework/web/crosswalk.git] / src / net / third_party / nss / patches / ecpointform.patch
1 diff -pu a/nss/lib/ssl/ssl3ecc.c b/nss/lib/ssl/ssl3ecc.c
2 --- a/nss/lib/ssl/ssl3ecc.c     2013-07-31 12:07:10.964699464 -0700
3 +++ b/nss/lib/ssl/ssl3ecc.c     2013-07-31 14:10:54.313607174 -0700
4 @@ -32,6 +32,15 @@
5  
6  #ifdef NSS_ENABLE_ECC
7  
8 +/*
9 + * In NSS 3.13.2 the definition of the EC_POINT_FORM_UNCOMPRESSED macro
10 + * was moved from the internal header ec.h to the public header blapit.h.
11 + * Define the macro here when compiling against older system NSS headers.
12 + */
13 +#ifndef EC_POINT_FORM_UNCOMPRESSED
14 +#define EC_POINT_FORM_UNCOMPRESSED 0x04
15 +#endif
16 +
17  #ifndef PK11_SETATTRS
18  #define PK11_SETATTRS(x,id,v,l) (x)->type = (id); \
19                 (x)->pValue=(v); (x)->ulValueLen = (l);