编译好的openssl库


编译好的 openssl 库,直接下载将头文件和库文件直接包含即可使用,方便快捷
资源截图
代码片段和文件信息
/*
 * Copyright 2004-2016 The OpenSSL Project Authors. All Rights Reserved.
 *
 * Licensed under the OpenSSL license (the “License“).  You may not use
 * this file except in compliance with the License.  You can obtain a copy
 * in the file LICENSE in the source distribution or at
 * https://www.openssl.org/source/license.html
 */

#define APPlink_STDIN   1
#define APPlink_STDOUT  2
#define APPlink_STDERR  3
#define APPlink_FPRINTF 4
#define APPlink_FGETS   5
#define APPlink_FREAD   6
#define APPlink_FWRITE  7
#define APPlink_FSETMOD 8
#define APPlink_FEOF    9
#define APPlink_FCLOSE  10      /* should not be used */

#define APPlink_FOPEN   11      /* solely for completeness */
#define APPlink_FSEEK   12
#define APPlink_FTELL   13
#define APPlink_FFLUSH  14
#define APPlink_FERROR  15
#define APPlink_CLEARERR 16
#define APPlink_FILENO  17      /* to be used with below */

#define APPlink_OPEN    18      /* formally can‘t be used as flags can vary */
#define APPlink_READ    19
#define APPlink_WRITE   20
#define APPlink_LSEEK   21
#define APPlink_CLOSE   22
#define APPlink_MAX     22      /* always same as last macro */

#ifndef APPMACROS_ONLY
# include 
# include 
# include 

static void *app_stdin(void)
{
    return stdin;
}

static void *app_stdout(void)
{
    return stdout;
}

static void *app_stderr(void)
{
    return stderr;
}

static int app_feof(FILE *fp)
{
    return feof(fp);
}

static int app_ferror(FILE *fp)
{
    return ferror(fp);
}

static void app_clearerr(FILE *fp)
{
    clearerr(fp);
}

static int app_fileno(FILE *fp)
{
    return _fileno(fp);
}

static int app_fsetmod(FILE *fp char mod)
{
    return _setmode(_fileno(fp) mod == ‘b‘ ? _O_BINARY : _O_TEXT);
}

#ifdef __cplusplus
extern “C“ {
#endif

__declspec(dllexport)
void **
# if defined(__BORLANDC__)
/*
 * __stdcall appears to be the only way to get the name
 * decoration right with Borland C. Otherwise it works
 * purely incidentally as we pass no parameters.
 */
__stdcall
# else
__cdecl
# endif
OPENSSL_Applink(void)
{
    static int once = 1;
    static void *OPENSSL_ApplinkTable[APPlink_MAX + 1] =
        { (void *)APPlink_MAX };

    if (once) {
        OPENSSL_ApplinkTable[APPlink_STDIN] = app_stdin;
        OPENSSL_ApplinkTable[APPlink_STDOUT] = app_stdout;
        OPENSSL_ApplinkTable[APPlink_STDERR] = app_stderr;
        OPENSSL_ApplinkTable[APPlink_FPRINTF] = fprintf;
        OPENSSL_ApplinkTable[APPlink_FGETS] = fgets;
        OPENSSL_ApplinkTable[APPlink_FREAD] = fread;
        OPENSSL_ApplinkTable[APPlink_FWRITE] = fwrite;
        OPENSSL_ApplinkTable[APPlink_FSETMOD] = app_fsetmod;
        OPENSSL_ApplinkTable[APPlink_FEOF] = app_feof;
        OPENSSL_ApplinkTable[APPlink_FCLOSE] = fclose;

        OPENSSL_ApplinkTable[APPlink_FOPEN] = fopen;
        OPENSSL_ApplinkTable[APPlink_FSEEK] = fseek;
        OPENSSL_ApplinkTable[APPlink_FTELL] = ftell;
        OPENSSL_ApplinkTable[APPlink_FFLUSH] = fflush;
        OPENSSL_ApplinkTable[APPlink_

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-04-21 14:27  openssl
     目录           0  2017-04-21 14:27  opensslin
     文件        1024  2017-04-19 17:14  opensslin.rnd
     文件        1208  2017-04-19 17:25  opensslinclient.crt
     文件        1062  2017-04-19 17:24  opensslinclient.csr
     文件        1702  2017-04-19 17:24  opensslinclientkey.pem
     文件        6432  2017-02-23 11:15  opensslinc_rehash.pl
     文件     2093056  2017-02-23 11:15  opensslinlibcrypto-1_1.dll
     文件     1575936  2017-02-23 11:15  opensslinlibcrypto-1_1.pdb
     文件      372736  2017-02-23 11:15  opensslinlibssl-1_1.dll
     文件      551936  2017-02-23 11:15  opensslinlibssl-1_1.pdb
     文件      426496  2017-02-23 11:15  opensslinopenssl.exe
     文件     1002496  2017-02-23 11:15  opensslinopenssl.pdb
     文件        1344  2017-04-19 17:23  opensslin
oot.crt
     文件          18  2017-04-19 17:27  opensslin
oot.srl
     文件        1702  2017-04-19 17:23  opensslin
ootkey.pem
     文件        1204  2017-04-19 17:27  opensslinserver.crt
     文件        1062  2017-04-19 17:26  opensslinserver.csr
     文件        1706  2017-04-19 17:26  opensslinserverkey.pem
     目录           0  2017-04-21 14:27  opensslhtml
     目录           0  2017-04-21 14:27  opensslhtmlman1
     文件        8323  2017-02-23 11:16  opensslhtmlman1asn1parse.html
     文件        8931  2017-02-23 11:16  opensslhtmlman1lake2b.html
     文件        8931  2017-02-23 11:16  opensslhtmlman1lake2s.html
     文件       30090  2017-02-23 11:16  opensslhtmlman1ca.html
     文件        8620  2017-02-23 11:16  opensslhtmlman1CA.pl.html
     文件       33537  2017-02-23 11:16  opensslhtmlman1ciphers.html
     文件       30893  2017-02-23 11:16  opensslhtmlman1cms.html
     文件        4911  2017-02-23 11:16  opensslhtmlman1crl.html
     文件        4336  2017-02-23 11:16  opensslhtmlman1crl2pkcs7.html
     文件        5638  2017-02-23 11:16  opensslhtmlman1c_rehash.html
............此处省略3142个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)