[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Fun with certificate authentication

From: Daniel Stenberg <daniel_at_haxx.se>
Date: 2002-08-05 14:38:33 CEST

On Mon, 5 Aug 2002, Daniel Berlin wrote:

> The first thing that occurred when i woke up this morning was that the PEM
> reader can't use the default private key prompt because it doesn't take a
> context argument.

Is that really so?

SSL_CTX_set_default_passwd_cb_userdata() was added in OpenSSL 0.9.4 and what
you set with it, gets passed in as the forth argument to the password
callback set with SSL_CTX_set_default_passwd_cb():

#if OPENSSL_VERSION_NUMBER >= 0x00904100L
#define HAVE_USERDATA_IN_PWD_CALLBACK 1
#else
#undef HAVE_USERDATA_IN_PWD_CALLBACK
#endif

Or perhaps I've just misunderstood the issue, then please ignore me.

-- 
      Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 5 14:39:46 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.