]> git.pld-linux.org Git - packages/python-M2Crypto.git/blame - python-M2Crypto-swig.patch
- rebuild with python 3.8
[packages/python-M2Crypto.git] / python-M2Crypto-swig.patch
CommitLineData
266c616f
JB
1--- m2crypto-0.18.1/SWIG/_x509.i.orig 2007-06-14 00:57:34.000000000 +0200
2+++ m2crypto-0.18.1/SWIG/_x509.i 2007-11-25 21:43:40.598378211 +0100
3@@ -279,19 +279,19 @@
4 %constant int XN_FLAG_SPC_EQ = (1 << 23);
5 %constant int XN_FLAG_DUMP_UNKNOWN_FIELDS = (1 << 24);
6 %constant int XN_FLAG_FN_ALIGN = (1 << 25);
7-%constant int XN_FLAG_ONELINE =(ASN1_STRFLGS_RFC2253 | \
8- ASN1_STRFLGS_ESC_QUOTE | \
9- XN_FLAG_SEP_CPLUS_SPC | \
10+%constant int XN_FLAG_ONELINE =(ASN1_STRFLGS_RFC2253 |
11+ ASN1_STRFLGS_ESC_QUOTE |
12+ XN_FLAG_SEP_CPLUS_SPC |
13 XN_FLAG_SPC_EQ);
14-%constant int XN_FLAG_MULTILINE = (ASN1_STRFLGS_ESC_CTRL | \
15- ASN1_STRFLGS_ESC_MSB | \
16- XN_FLAG_SEP_MULTILINE | \
17- XN_FLAG_SPC_EQ | \
18- XN_FLAG_FN_LN | \
19+%constant int XN_FLAG_MULTILINE = (ASN1_STRFLGS_ESC_CTRL |
20+ ASN1_STRFLGS_ESC_MSB |
21+ XN_FLAG_SEP_MULTILINE |
22+ XN_FLAG_SPC_EQ |
23+ XN_FLAG_FN_LN |
24 XN_FLAG_FN_ALIGN);
25-%constant int XN_FLAG_RFC2253 = (ASN1_STRFLGS_RFC2253 | \
26- XN_FLAG_SEP_COMMA_PLUS | \
27- XN_FLAG_DN_REV | \
28+%constant int XN_FLAG_RFC2253 = (ASN1_STRFLGS_RFC2253 |
29+ XN_FLAG_SEP_COMMA_PLUS |
30+ XN_FLAG_DN_REV |
31 XN_FLAG_DUMP_UNKNOWN_FIELDS);
32
33 /* Cribbed from rsa.h. */
cb38e235
AM
34--- M2Crypto-0.27.0/SWIG/_asn1.i~ 2017-10-05 22:43:17.000000000 +0200
35+++ M2Crypto-0.27.0/SWIG/_asn1.i 2017-10-29 10:43:11.639300285 +0100
36@@ -107,11 +107,11 @@ extern int ASN1_INTEGER_cmp(ASN1_INTEGER
266c616f
JB
37 %constant int ASN1_STRFLGS_DUMP_UNKNOWN = 0x100;
38 %constant int ASN1_STRFLGS_DUMP_DER = 0x200;
cb38e235 39
266c616f
JB
40-%constant int ASN1_STRFLGS_RFC2253 = (ASN1_STRFLGS_ESC_2253 | \
41- ASN1_STRFLGS_ESC_CTRL | \
42- ASN1_STRFLGS_ESC_MSB | \
43- ASN1_STRFLGS_UTF8_CONVERT | \
44- ASN1_STRFLGS_DUMP_UNKNOWN | \
45+%constant int ASN1_STRFLGS_RFC2253 = (ASN1_STRFLGS_ESC_2253 |
46+ ASN1_STRFLGS_ESC_CTRL |
47+ ASN1_STRFLGS_ESC_MSB |
48+ ASN1_STRFLGS_UTF8_CONVERT |
49+ ASN1_STRFLGS_DUMP_UNKNOWN |
50 ASN1_STRFLGS_DUMP_DER);
51
52 %inline %{
cb38e235 53
This page took 0.0806559999999999 seconds and 4 git commands to generate.