00001 // $Id: params_dup.cpp 78567 2007-06-14 10:27:15Z sma $ 00002 00003 // MFC style projects on MicroSoft compilers require CPP files 00004 // They can't cope with c files (as MFC projects are CPP by 00005 // there very nature). Some other platforms incorrectly can't 00006 // cope with the openSSL DSAParams_dup/DHparams_dup when compiled 00007 // under cpp files (which is why this file duplicates the 00008 // params_dup.c file). 00009 00010 #include "params_dup.h" 00011 #include <openssl/asn1.h> 00012 00013 extern "C" DSA * 00014 DSAPARAMS_DUP_WRAPPER_NAME (DSA * dsa) 00015 { 00016 return DSAparams_dup (dsa); 00017 } 00018 00019 extern "C" DH * 00020 DHPARAMS_DUP_WRAPPER_NAME (DH * dh) 00021 { 00022 return DHparams_dup (dh); 00023 }