I found the answer... add this after line 5:
client.Authentication.SslServerTrustHandlers += delegate(object sender, SvnSslServerTrustEventArgs e) {
e.AcceptedFailures = e.Failures;
e.Save = true; // Save acceptance to authentication store
};