~ubuntu-branches/debian/squeeze/f-spot/squeeze

« back to all changes in this revision

Viewing changes to extensions/SmugMugExport/SmugMugNet/NoCheckCertificatePolicy.cs

  • Committer: Bazaar Package Importer
  • Author(s): Iain Lane, Mirco Bauer, Iain Lane
  • Date: 2009-02-07 20:23:32 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: james.westby@ubuntu.com-20090207202332-oc93rfjo1st0571s
Tags: 0.5.0.3-2
[ Mirco Bauer]
* Upload to unstable.
* debian/control:
  + Lowered GNOME# build-deps to 2.0 ABI as that transition didn't happen
    yet in unstable.

[ Iain Lane ]
* debian/patches/svn-r4545_locales-import.dpatch: Patch backported from SVN
  trunk revision 4545 - initialize the translation catalog earlier (LP: #293305)
  (Closes: #514457). Thanks to Florian Heinle for finding the patch and to
  Chris Coulson for preparing the update.
* debian/control: Build-depend on libmono-dev (>= 1.2.4) to match configure
  checks.
* debian/rules: Pass CSC=/usr/bin/csc to configure for gio-sharp to fix FTBFS

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// Authors:
2
 
//      Gonzalo Paniagua Javier (gonzalo@ximian.com)
3
 
//
4
 
// (C) Copyright 2006 Novell, Inc. (http://www.novell.com)
5
 
//
6
 
 
7
 
// Permission is hereby granted, free of charge, to any person obtaining
8
 
// a copy of this software and associated documentation files (the
9
 
// "Software"), to deal in the Software without restriction, including
10
 
// without limitation the rights to use, copy, modify, merge, publish,
11
 
// distribute, sublicense, and/or sell copies of the Software, and to
12
 
// permit persons to whom the Software is furnished to do so, subject to
13
 
// the following conditions:
14
 
// 
15
 
// The above copyright notice and this permission notice shall be
16
 
// included in all copies or substantial portions of the Software.
17
 
// 
18
 
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19
 
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20
 
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21
 
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
22
 
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23
 
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
24
 
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25
 
//
26
 
 
27
 
using System.Net;
28
 
using System.Security.Cryptography.X509Certificates;
29
 
 
30
 
namespace SmugMugNet {
31
 
        public class NoCheckCertificatePolicy : ICertificatePolicy {
32
 
                public bool CheckValidationResult (ServicePoint a, X509Certificate b, WebRequest c, int d)
33
 
                {
34
 
                        return true;
35
 
                }
36
 
        }
37
 
}
38