WvStreams
wvsslhacks.c
1/*
2 * Worldvisions Tunnel Vision Software:
3 * Copyright (C) 1997-2002 Net Integration Technologies, Inc.
4 *
5 * Functions to make us compile with both newer and older versions of openssl.
6 *
7 * THIS FILE MUST BE COMPILED AS STANDARD C, NOT C++!!!
8 *
9 * See wvsslhacks.h.
10 */
11#include "wvsslhacks.h"
12
13RSA *wv_d2i_RSAPublicKey(RSA **a, const unsigned char **pp, long length)
14{
15 return d2i_RSAPublicKey(a, (void *)pp, length);
16}
17
18
19RSA *wv_d2i_RSAPrivateKey(RSA **a, const unsigned char **pp, long length)
20{
21 return d2i_RSAPrivateKey(a, (void *)pp, length);
22}
23
24DSA *wv_d2i_DSAPublicKey(DSA **a, const unsigned char **pp, long length)
25{
26 return d2i_DSAPublicKey(a, (void *)pp, length);
27}
28
29
30DSA *wv_d2i_DSAPrivateKey(DSA **a, const unsigned char **pp, long length)
31{
32 return d2i_DSAPrivateKey(a, (void *)pp, length);
33}
34
35
36X509_REQ *wv_d2i_X509_REQ(X509_REQ **a, const unsigned char **pp, long length)
37{
38 return d2i_X509_REQ(a, (void *)pp, length);
39}
40
41X509 *wv_d2i_X509(X509 **a, unsigned char **pp, long length)
42{
43 return d2i_X509(a, (void *)pp, length);
44}
45
46int wv_i2d_OCSP_REQUEST_bio(BIO *bio, OCSP_REQUEST *req)
47{
48 return i2d_OCSP_REQUEST_bio(bio, req);
49}