Hi,

The callback for client certs currently has the following format:
svn_error_t* callback(svn_auth_cred_ssl_client_cert_t **cred, void *baton, const char * realm, svn_boolean_t /*may_save*/, apr_pool_t *pool);

As you can see, the callback expects a path to a file.

Would it be possible to extend that callback so that not a file but the *content* of that cert file can be passed back? Maybe with two more parameters, one the pointer to the data and the second the length of the data in bytes.

The reason I would like this extension is that I can get the client certificates from the Windows cert store, but there I get the certificates in memory only. So now I have to save that memory cert first to a file so I can pass it back in the callback.

Thoughts?


Stefan


--
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net

Reply via email to