12 #ifndef __WVSSLHACKS_H
13 #define __WVSSLHACKS_H
15 #include <openssl/rsa.h>
16 #include <openssl/x509.h>
17 #include <openssl/ocsp.h>
23 RSA *wv_d2i_RSAPublicKey(RSA **a,
const unsigned char **pp,
long length);
24 RSA *wv_d2i_RSAPrivateKey(RSA **a,
const unsigned char **pp,
long length);
25 DSA *wv_d2i_DSAPublicKey(DSA **a,
const unsigned char **pp,
long length);
26 DSA *wv_d2i_DSAPrivateKey(DSA **a,
const unsigned char **pp,
long length);
27 X509_REQ *wv_d2i_X509_REQ(X509_REQ **a,
const unsigned char **pp,
long length);
28 X509 *wv_d2i_X509(X509 **a,
unsigned char **pp,
long length);
30 int wv_i2d_OCSP_REQUEST_bio(BIO *bio, OCSP_REQUEST *req);
37 #endif // __WVSSLHACKS_H