[EMAIL PROTECTED] - Mon Feb 24 17:43:50 2003]: 
 
> OpenSSL 0.9.7a Feb 19 2003 
> built on: Mon Feb 24 14:33:03 2003 
> platform: VC-WIN32 
> options:  bn(64,32) md2(int) rc4(idx,int) des(idx,cisc,4,long) 
> blowfish(idx) 
> compiler: cl  /MD /W3 /WX /G5 /Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo 
> -DOPENSSL_SYSNAM 
> E_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 
/Fdout32dll 
> -DOPENSSL_NO_ID 
> EA -DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2 
-DOPENSSL_NO_KRB5 
> -DOPENSSL_NO_ENGINE 
> OPENSSLDIR: "/usr/local/ssl" 
>  
> Built on Windows 2000 SP3 & VC6 SP5 using the following commands: 
>   perl Configure VC-WIN32 no-engine no-rc5 no-idea no-mdc2 
>   ms\do_ms 
>   nmake -f ms\ntdll.mak 
>  
> Library compiles fine. 
>  
> I'm migrating from 0.9.6h to 0.9.7a.  I cannot find the function 
> 'x509_free' 
> in any header file.  Is this intentional, or some kind of bug?  I have 
> to 
> prefix the function name with '__cdecl' (calling convention directive) 
> to 
> make it link in my project.  I cannot modify the project's defaults on 
> this. 
>  
> What changes do I need to make to go from 0.9.6h to 0.9.7a? 
>  
> I hate to bother the dev team with such trivial matters, but I haven't 
> found 
> any docs hinting on how to upgrade to 0.9.7a, and the changelog didn't 
> mention anything either.  I gather there have been significant changes 
> since 
> 0.9.6h, but has the API changed at all? 
 
Hmm. No, the API did not change, but the implementation did. 
X509_free() (not the upercase "X") is now implemented differently: 
It is a macro defined in x509.h (DECLARE_ASN1_FUNCTIONS(X509)) which 
itself is handled in asn1.h. 
The actual implementation of the code is (and was) in crypto/asn1/x_x509.c 
via IMPLEMENT_ASN1_FUNCTIONS(X509). 
So the location for the __cdecl should be... the 
DECLARE_ASN1_FUNCTIONS macro. This will of course cover more 
definitions, but as everything is written in C anyway... 
 
Best regards, 
      Lutz 
 
 
 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to