]> git.pld-linux.org Git - packages/xca.git/blob - xca-openssl.patch
- Added missing BRs
[packages/xca.git] / xca-openssl.patch
1 diff -urNp xca-0.6.4.org/lib/x509rev.cpp xca-0.6.4/lib/x509rev.cpp
2 --- xca-0.6.4.org/lib/x509rev.cpp       2007-08-13 21:55:50.000000000 +0300
3 +++ xca-0.6.4/lib/x509rev.cpp   2007-10-23 17:35:42.000000000 +0200
4 @@ -7,7 +7,12 @@
5  
6  #include "x509rev.h"
7  
8 -#if OPENSSL_VERSION_NUMBER >= 0x00908000L
9 +#if OPENSSL_VERSION_NUMBER >= 0x0090806fL
10 +#define X509_REVOKED_dup(x5r) (X509_REVOKED *)ASN1_dup( \
11 +       (i2d_of_void*)i2d_X509_REVOKED, \
12 +       (d2i_of_void*)d2i_X509_REVOKED, \
13 +       (char *)x5r)
14 +#elif OPENSSL_VERSION_NUMBER >= 0x00908000L
15  #define X509_REVOKED_dup(x5r) \
16         ASN1_dup_of (X509_REVOKED, i2d_X509_REVOKED, d2i_X509_REVOKED, x5r)
17  
This page took 0.033857 seconds and 3 git commands to generate.