Differences From Artifact [af6ab49c20]:
- File SSLSocket.h — part of check-in [fe3303caf8] at 2011-03-28 20:05:36 on branch trunk — Initial import. (user: js, size: 197) [annotate] [blame] [check-ins using]
To Artifact [247b5540e4]:
- File SSLSocket.h — part of check-in [c10ce0877b] at 2011-03-28 20:26:45 on branch trunk — Add -[initWithSocket:]. (user: js, size: 238) [annotate] [blame] [check-ins using]
- File src/SSLSocket.h — part of check-in [218a219fe5] at 2011-03-28 20:32:48 on branch trunk — Move sources to src and add install and clean targets to Makefile. (user: js, size: 238) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | + + | #include <openssl/ssl.h> #import <ObjFW/OFTCPSocket.h> @interface SSLSocket: OFTCPSocket { SSL_CTX *ctx; SSL *ssl; BOOL handsShaken; } - initWithSocket: (OFTCPSocket*)socket; /* Change the return type */ - (SSLSocket*)accept; @end |