Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

wvsslhacks.h

Go to the documentation of this file.
00001 /* -*- Mode: C++ -*- 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 * The trick here is to write C wrappers for functions where different 00008 * versions of openssl have changed the pointer types of arguments: C 00009 * files only give warnings about mismatched pointers, where C++ files 00010 * fail completely. 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 00025 X509 *wv_d2i_X509(X509 **a, unsigned char **pp, long length); 00026 00027 00028 #ifdef __cplusplus 00029 }; 00030 #endif 00031 00032 #endif // __WVSSLHACKS_H

Generated on Tue Oct 5 01:09:21 2004 for WvStreams by doxygen 1.3.7