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

Can "make check" automatically accept a server certificate?

From: Sigfred Håversen <bsdlist_at_mumak.com>
Date: 2004-10-17 03:40:42 CEST

Is there a way to have "make check" automatically accept/reject a server certificate temporarily?

I'm working on an SSL layer for svnserve, and "make check BASE_URL=svn://localhost"
seems to wait for input when starting basic_tests. This is due to a

 error = svn_auth_first_credentials(&creds, &state,
                                     SVN_AUTH_CRED_SSL_SERVER_TRUST,
                                     sess->realm_prefix,
                                     sess->auth_baton,
                                     pool);

asking for acceptance of the server certificate. If I remove svn_auth_first_credentials(),
all the automatic test passes. With automatic accept/reject of certificates, I should be
fairly close to send a patch to the mailing list for comments.

/Sigfred
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Oct 17 03:41:09 2004

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