Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
openssl
提交
a1e464f9
O
openssl
项目概览
btwise
/
openssl
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
openssl
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
a1e464f9
编写于
4月 25, 1999
作者:
D
Dr. Stephen Henson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fixes so it will compile again under Win32.
上级
c74b3a60
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
61 addition
and
14 deletion
+61
-14
Configure
Configure
+14
-9
crypto/bio/b_sock.c
crypto/bio/b_sock.c
+6
-2
crypto/rand/md_rand.c
crypto/rand/md_rand.c
+1
-1
crypto/x509/x509_vfy.h
crypto/x509/x509_vfy.h
+0
-2
util/libeay.num
util/libeay.num
+40
-0
未找到文件。
Configure
浏览文件 @
a1e464f9
...
...
@@ -334,6 +334,8 @@ foreach (@ARGV)
&usage if (!defined($table{$target}));
my $IsWindows=scalar grep /^$target$/,@WinTargets;
$openssldir="/usr/local/ssl" if ($openssldir eq "" and $installprefix eq "");
$installprefix=$openssldir if $installprefix eq "";
...
...
@@ -343,7 +345,6 @@ chop $installprefix if $installprefix =~ /\/$/;
$openssldir=$installprefix . "/ssl" if $openssldir eq "";
$openssldir=$installprefix . "/" . $openssldir if $openssldir !~ /^\//;
my $IsWindows=scalar grep /^$target$/,@WinTargets;
print "IsWindows=$IsWindows\n";
...
...
@@ -548,18 +549,22 @@ if($IsWindows) {
open (OUT,">crypto/date.h") || die "Can't open date.h";
printf OUT "#define DATE \"%s\"\n", scalar gmtime();
close(OUT);
} else {
(system 'make -f Makefile.ssl links') == 0 or exit $?;
&dofile("tools/c_rehash",$openssldir,'^DIR=', 'DIR=%s',);
&dofile("util/mk1mf.pl",$openssldir,
('^\$INSTALLTOP=','$INSTALLTOP="%s";',));
}
if (!$IsWindows)
{
(system 'make -f Makefile.ssl links') == 0 or exit $?;
}
&dofile("tools/c_rehash",$openssldir,'^DIR=', 'DIR=%s',);
&dofile("util/mk1mf.pl",$openssldir,('^\$INSTALLTOP=','$INSTALLTOP="%s";',));
my $pwd;
my $pwd=`pwd`;
chop($pwd);
if($IsWindows) {
$pwd="(include directory)";
} else {
$pwd =`pwd`;
chop($pwd);
}
print <<EOF;
NOTE: The OpenSSL header files have been moved from include/*.h
...
...
crypto/bio/b_sock.c
浏览文件 @
a1e464f9
...
...
@@ -199,8 +199,12 @@ int BIO_sock_error(int sock)
int
size
;
size
=
sizeof
(
int
);
i
=
getsockopt
(
sock
,
SOL_SOCKET
,
SO_ERROR
,
&
j
,
&
size
);
/* Note: under Windows the third parameter is of type (char *)
* whereas under other systems it is (void *) if you don't have
* a cast it will choke the compiler: if you do have a cast then
* you can either go for (char *) or (void *).
*/
i
=
getsockopt
(
sock
,
SOL_SOCKET
,
SO_ERROR
,(
void
*
)
&
j
,
&
size
);
if
(
i
<
0
)
return
(
1
);
else
...
...
crypto/rand/md_rand.c
浏览文件 @
a1e464f9
...
...
@@ -330,7 +330,7 @@ static void ssleay_rand_bytes(unsigned char *buf, int num)
#ifdef WINDOWS
#include <windows.h>
#include <rand.h>
#include <
openssl/
rand.h>
/*****************************************************************************
* Initialisation function for the SSL random generator. Takes the contents
...
...
crypto/x509/x509_vfy.h
浏览文件 @
a1e464f9
...
...
@@ -273,7 +273,6 @@ X509_LOOKUP *X509_STORE_add_lookup(X509_STORE *v, X509_LOOKUP_METHOD *m);
X509_LOOKUP_METHOD
*
X509_LOOKUP_hash_dir
(
void
);
X509_LOOKUP_METHOD
*
X509_LOOKUP_file
(
void
);
X509_LOOKUP_METHOD
*
X509_LOOKUP_dir
(
void
);
int
X509_STORE_add_cert
(
X509_STORE
*
ctx
,
X509
*
x
);
int
X509_STORE_add_crl
(
X509_STORE
*
ctx
,
X509_CRL
*
x
);
...
...
@@ -337,7 +336,6 @@ X509_LOOKUP *X509_STORE_add_lookup();
X509_LOOKUP_METHOD
*
X509_LOOKUP_hash_dir
();
X509_LOOKUP_METHOD
*
X509_LOOKUP_file
();
X509_LOOKUP_METHOD
*
X509_LOOKUP_dir
();
int
X509_STORE_add_cert
();
int
X509_STORE_add_crl
();
...
...
util/libeay.num
浏览文件 @
a1e464f9
...
...
@@ -1482,3 +1482,43 @@ X509V3_string_free 1506
X509V3_section_free 1507
X509V3_set_ctx 1508
s2i_ASN1_INTEGER 1509
CRYPTO_set_locked_mem_functions 1510
CRYPTO_get_locked_mem_functions 1511
CRYPTO_malloc_locked 1512
CRYPTO_free_locked 1513
BN_mod_exp2_mont 1514
ERR_get_error_line_data 1515
ERR_peek_error_line_data 1516
PKCS12_PBE_keyivgen 1517
X509_ALGOR_dup 1518
sk_DIST_POINT_new 1519
sk_DIST_POINT_new_null 1520
sk_DIST_POINT_free 1521
sk_DIST_POINT_num 1522
sk_DIST_POINT_value 1523
sk_DIST_POINT_set 1524
sk_DIST_POINT_zero 1525
sk_DIST_POINT_push 1526
sk_DIST_POINT_pop 1527
sk_DIST_POINT_find 1528
sk_DIST_POINT_delete 1529
sk_DIST_POINT_delete_ptr 1530
sk_DIST_POINT_set_cmp_func 1531
sk_DIST_POINT_dup 1532
sk_DIST_POINT_pop_free 1533
sk_DIST_POINT_shift 1534
d2i_ASN1_SET_OF_DIST_POINT 1535
i2d_ASN1_SET_OF_DIST_POINT 1536
i2d_CRL_DIST_POINTS 1537
CRL_DIST_POINTS_new 1538
CRL_DIST_POINTS_free 1539
d2i_CRL_DIST_POINTS 1540
i2d_DIST_POINT 1541
DIST_POINT_new 1542
d2i_DIST_POINT 1543
DIST_POINT_free 1544
i2d_DIST_POINT_NAME 1545
DIST_POINT_NAME_new 1546
DIST_POINT_NAME_free 1547
d2i_DIST_POINT_NAME 1548
X509V3_add_value_uchar 1549
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录