Differences From Artifact [28ac2990f0]:
- File src/X509Certificate.m — part of check-in [93fb0bd595] at 2013-06-23 11:10:33 on branch trunk — Adjust to reworked exception API. (user: js, size: 11421) [annotate] [blame] [check-ins using]
To Artifact [2e798742d9]:
- File
src/X509Certificate.m
— part of check-in
[071d74e840]
at
2015-05-24 19:33:09
on branch trunk
— Conform to OFTLSSocket
This also introduces automatic certificate verification and enables it
by default, as required by OFTLSSocket.There are still TODOs until OFTLSSocket is fully implemented. (user: js, size: 11596) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ #include <openssl/crypto.h> #include <openssl/x509v3.h> #import "X509Certificate.h" #import <ObjFW/OFAutoreleasePool.h> #import <ObjFW/OFArray.h> #import <ObjFW/OFDataArray.h> #import <ObjFW/OFDictionary.h> | > > > > > > > > > | 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ #if defined(__clang__) # pragma clang diagnostic push # pragma clang diagnostic ignored "-Wdocumentation" #endif #include <openssl/crypto.h> #include <openssl/x509v3.h> #if defined(__clang__) # pragma clang diagnostic pop #endif #import "X509Certificate.h" #import <ObjFW/OFAutoreleasePool.h> #import <ObjFW/OFArray.h> #import <ObjFW/OFDataArray.h> #import <ObjFW/OFDictionary.h> |
︙ | ︙ |