00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef __WVSSLHACKS_H
00013 #define __WVSSLHACKS_H
00014
00015 #include <openssl/rsa.h>
00016 #include <openssl/x509.h>
00017
00018 #ifdef __cplusplus
00019 extern "C" {
00020 #endif
00021
00022 RSA *wv_d2i_RSAPublicKey(RSA **a, const unsigned char **pp, long length);
00023 RSA *wv_d2i_RSAPrivateKey(RSA **a, const unsigned char **pp, long length);
00024 DSA *wv_d2i_DSAPublicKey(DSA **a, const unsigned char **pp, long length);
00025 DSA *wv_d2i_DSAPrivateKey(DSA **a, const unsigned char **pp, long length);
00026 X509_REQ *wv_d2i_X509_REQ(X509_REQ **a, const unsigned char **pp, long length);
00027 X509 *wv_d2i_X509(X509 **a, unsigned char **pp, long length);
00028
00029
00030 #ifdef __cplusplus
00031 };
00032 #endif
00033
00034 #endif // __WVSSLHACKS_H