1,https://github.com/st3fan/ios-openssl下载;
2,将include和lib拖到工程中;
3,添加include目录到“Header Seach Paths”中;
4,编译,成功;