WvStreams
|
00001 /* 00002 * Worldvisions Tunnel Vision Software: 00003 * Copyright (C) 1997-2002 Net Integration Technologies, Inc. 00004 * 00005 * Functions to make us compile with both newer and older versions of openssl. 00006 * 00007 * THIS FILE MUST BE COMPILED AS STANDARD C, NOT C++!!! 00008 * 00009 * See wvsslhacks.h. 00010 */ 00011 #include "wvsslhacks.h" 00012 00013 RSA *wv_d2i_RSAPublicKey(RSA **a, const unsigned char **pp, long length) 00014 { 00015 return d2i_RSAPublicKey(a, (void *)pp, length); 00016 } 00017 00018 00019 RSA *wv_d2i_RSAPrivateKey(RSA **a, const unsigned char **pp, long length) 00020 { 00021 return d2i_RSAPrivateKey(a, (void *)pp, length); 00022 } 00023 00024 DSA *wv_d2i_DSAPublicKey(DSA **a, const unsigned char **pp, long length) 00025 { 00026 return d2i_DSAPublicKey(a, (void *)pp, length); 00027 } 00028 00029 00030 DSA *wv_d2i_DSAPrivateKey(DSA **a, const unsigned char **pp, long length) 00031 { 00032 return d2i_DSAPrivateKey(a, (void *)pp, length); 00033 } 00034 00035 00036 X509_REQ *wv_d2i_X509_REQ(X509_REQ **a, const unsigned char **pp, long length) 00037 { 00038 return d2i_X509_REQ(a, (void *)pp, length); 00039 } 00040 00041 X509 *wv_d2i_X509(X509 **a, unsigned char **pp, long length) 00042 { 00043 return d2i_X509(a, (void *)pp, length); 00044 } 00045 00046 int wv_i2d_OCSP_REQUEST_bio(BIO *bio, OCSP_REQUEST *req) 00047 { 00048 return i2d_OCSP_REQUEST_bio(bio, req); 00049 }