Wrap error message from SASL with a prefix which makes clear that the error message comes from SASL, not from Subversion itself. This avoids silly error messages such as "svn: generic failure".
Wrap error message from SASL with a prefix which makes clear that the
error message comes from SASL, not from Subversion itself.
This avoids silly error messages such as "svn: generic failure".

Reported by: frantisek holop

* subversion/libsvn_ra_svn/cyrus_auth.c
  (get_sasl_error): New helper which wraps sasl_errdetail().
  (sasl_baton): Add SCRATCH_POOL so our sasl callbacks can call above helper.
  (new_sasl_ctx, try_auth, sasl_read_cb, sasl_write_cb,
   svn_ra_svn__enable_sasl_encryption): Call get_sasl_error() instead of
   calling sasl_errdetail().

jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion