Bodo Moeller wrote:
> [...]
> #undef PEM_read_PrivateKey
> EVP_PKEY *PEM_read_PrivateKey(FILE *fp,EVP_PKEY **x, pem_password_cb *cb)
> {
> return PEM_read_PrivateKey_ex(fp, x, cb, NULL);
> }
two notes:
1) on compilers that support inlining, defining the above function
with *static* qualifiers in the include file would build the same
executable, avoiding the additional define/undef coding.
2) some compiler, specially on NT, like to call dynamically linked
function with non-C calling conventions (because someone noticed
that a few nanoseconds can be saved when it is the callee to free the
stack, rather than the caller). This must be avoided, because the
callback will end up being called with one more (NULL) parameter.
Ciao
Ale
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]
- Re: Adding parameters to passphrase cal... Dr Stephen Henson
- Re: Adding parameters to passphrase callback... Goetz Babin-Ebell
- Re: Adding parameters to passphrase cal... Ben Laurie
- Re: Adding parameters to passphrase... Richard Levitte - VMS Whacker
- Re: Adding parameters to passph... Ben Laurie
- Re: Adding parameters to passphrase callback... Alessandro Vesely
- Re: Adding parameters to passphrase callback... ca
- Re: Adding parameters to passphrase callback... Ralf S. Engelschall
- RE: Adding parameters to passphrase callback... Wade L. Scholine
- Re: Adding parameters to passphrase cal... Anonymous
- Re: Adding parameters to passphrase... Anonymous
- Re: Adding parameters to passph... Anonymous
- Re: Adding parameters to pa... Anonymous
- Re: Adding parameters ... Anonymous
- Re: Adding paramet... Anonymous
- Re: Adding parameters to passphrase... Anonymous
- Re: Adding parameters to passph... Anonymous
- RE: Adding parameters to passphrase callback... Anonymous
- RE: Adding parameters to passphrase callback... Anonymous
