2 * Worldvisions Tunnel Vision Software:
3 * Copyright (C) 1997-2002 Net Integration Technologies, Inc.
5 * Functions to make us compile with both newer and older versions of openssl.
7 * THIS FILE MUST BE COMPILED AS STANDARD C, NOT C++!!!
11 #include "wvsslhacks.h"
13 RSA
*wv_d2i_RSAPublicKey(RSA
**a
, const unsigned char **pp
, long length
)
15 return d2i_RSAPublicKey(a
, (void *)pp
, length
);
19 RSA
*wv_d2i_RSAPrivateKey(RSA
**a
, const unsigned char **pp
, long length
)
21 return d2i_RSAPrivateKey(a
, (void *)pp
, length
);
24 DSA
*wv_d2i_DSAPublicKey(DSA
**a
, const unsigned char **pp
, long length
)
26 return d2i_DSAPublicKey(a
, (void *)pp
, length
);
30 DSA
*wv_d2i_DSAPrivateKey(DSA
**a
, const unsigned char **pp
, long length
)
32 return d2i_DSAPrivateKey(a
, (void *)pp
, length
);
36 X509_REQ
*wv_d2i_X509_REQ(X509_REQ
**a
, const unsigned char **pp
, long length
)
38 return d2i_X509_REQ(a
, (void *)pp
, length
);
41 X509
*wv_d2i_X509(X509
**a
, unsigned char **pp
, long length
)
43 return d2i_X509(a
, (void *)pp
, length
);
46 int wv_i2d_OCSP_REQUEST_bio(BIO
*bio
, OCSP_REQUEST
*req
)
48 return i2d_OCSP_REQUEST_bio(bio
, req
);