myssl_openssl.h

来自「网络爬虫程序」· C头文件 代码 · 共 44 行

H
44
字号
/***************************************************************************//*    This code is part of WWW grabber called pavuk                        *//*    Copyright (c) 1997 - 2001 Stefan Ondrejicka                          *//*    Distributed under GPL 2 or later                                     *//***************************************************************************/#ifndef _myopenssl_h_#define _myopenssl_h_#if defined(USE_SSL) && defined(USE_SSL_IMPL_OPENSSL)#include <stdio.h>#ifdef OPENSSL#include <openssl/rsa.h>#include <openssl/crypto.h>#include <openssl/x509.h>#include <openssl/pem.h>#include <openssl/ssl.h>#include <openssl/err.h>#include <openssl/md5.h>#include <openssl/rand.h>#else#include <rsa.h>#include <crypto.h>#include <x509.h>#include <pem.h>#include <ssl.h>#include <err.h>#include <md5.h>#include <rand.h>#endiftypedef struct{  SSL *ssl_con;  SSL_CTX *ssl_ctx;  bufio *socket;} ssl_connection;#endif#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?