>From: owner-openssl-us...@openssl.org On Behalf Of Mithun Kumar
>Sent: Thursday, 30 August, 2012 08:32

>cryptlib.h
>#ifdef OPENSSL_USE_APPLINK
>#define BIO_FLAGS_UPLINK 0x8000
>#include "ms/uplink.h"
>#endif

>On Thu, Aug 30, 2012 at 6:00 PM, Mithun Kumar <mithunsi...@gmail.com>
wrote:
>       i am extremely sorry.   its  BIO_FLAGS_UPLINK flag. 

These are related. USE_APPLINK says if the OS needs 
special handling for file I/O in library versus main, 
currently only Windows (for DLL and MS LIB*/MSVCRT).
BIO_UPLINK says if that handling applies to specific BIO.

If on Windows do you #include applink.c in your app?
http://www.openssl.org/support/faq.html#PROG2

Alternatively use a file-BIO opened by name (not C fileptr); 
or do the ERR_get_error/ERR_string/etc yourself as another 
reply suggested (although that's a little more work).


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to