NancyFx/Nancy — pull request #1100 by kppullin (2013-05-24 04:53:20+00:00)
Title: Check if 'certificate' is preset before checking length

Attempting to access the length of a 'non-present' certificate throws a null reference exception when running Nancy as an ASP.NET app under Mono's `fastcgi-mono-server4` host

To avoid the exception, this patch first checks that the certificate `IsPresent` before accessing the certificate's `Length` property.