Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
0baed24c
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
大约 1 年 前同步成功
通知
9
Star
18
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Openssl
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
0baed24c
编写于
9月 09, 2000
作者:
R
Richard Levitte
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
More VMS synchronisation
上级
4f7068c1
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
43 addition
and
17 deletion
+43
-17
apps/rsautl.c
apps/rsautl.c
+1
-0
crypto/asn1/a_strex.c
crypto/asn1/a_strex.c
+1
-0
crypto/bio/bss_rtcp.c
crypto/bio/bss_rtcp.c
+6
-6
crypto/conf/conf_api.c
crypto/conf/conf_api.c
+1
-0
crypto/crypto-lib.com
crypto/crypto-lib.com
+9
-9
crypto/symhacks.h
crypto/symhacks.h
+25
-2
未找到文件。
apps/rsautl.c
浏览文件 @
0baed24c
...
@@ -56,6 +56,7 @@
...
@@ -56,6 +56,7 @@
*
*
*/
*/
#include "apps.h"
#include "apps.h"
#include <string.h>
#include <openssl/err.h>
#include <openssl/err.h>
#include <openssl/pem.h>
#include <openssl/pem.h>
...
...
crypto/asn1/a_strex.c
浏览文件 @
0baed24c
...
@@ -57,6 +57,7 @@
...
@@ -57,6 +57,7 @@
*/
*/
#include <stdio.h>
#include <stdio.h>
#include <string.h>
#include <openssl/crypto.h>
#include <openssl/crypto.h>
#include <openssl/x509.h>
#include <openssl/x509.h>
#include <openssl/asn1.h>
#include <openssl/asn1.h>
...
...
crypto/bio/bss_rtcp.c
浏览文件 @
0baed24c
...
@@ -88,11 +88,11 @@ struct rpc_ctx {
...
@@ -88,11 +88,11 @@ struct rpc_ctx {
struct
rpc_msg
msg
;
struct
rpc_msg
msg
;
};
};
static
int
rtcp_write
(
BIO
*
h
,
char
*
buf
,
int
num
);
static
int
rtcp_write
(
BIO
*
h
,
c
onst
c
har
*
buf
,
int
num
);
static
int
rtcp_read
(
BIO
*
h
,
char
*
buf
,
int
size
);
static
int
rtcp_read
(
BIO
*
h
,
char
*
buf
,
int
size
);
static
int
rtcp_puts
(
BIO
*
h
,
char
*
str
);
static
int
rtcp_puts
(
BIO
*
h
,
c
onst
c
har
*
str
);
static
int
rtcp_gets
(
BIO
*
h
,
char
*
str
,
int
size
);
static
int
rtcp_gets
(
BIO
*
h
,
char
*
str
,
int
size
);
static
long
rtcp_ctrl
(
BIO
*
h
,
int
cmd
,
long
arg1
,
char
*
arg2
);
static
long
rtcp_ctrl
(
BIO
*
h
,
int
cmd
,
long
arg1
,
void
*
arg2
);
static
int
rtcp_new
(
BIO
*
h
);
static
int
rtcp_new
(
BIO
*
h
);
static
int
rtcp_free
(
BIO
*
data
);
static
int
rtcp_free
(
BIO
*
data
);
...
@@ -218,7 +218,7 @@ static int rtcp_read(BIO *b, char *out, int outl)
...
@@ -218,7 +218,7 @@ static int rtcp_read(BIO *b, char *out, int outl)
return
length
;
return
length
;
}
}
static
int
rtcp_write
(
BIO
*
b
,
char
*
in
,
int
inl
)
static
int
rtcp_write
(
BIO
*
b
,
c
onst
c
har
*
in
,
int
inl
)
{
{
int
status
,
i
,
segment
,
length
;
int
status
,
i
,
segment
,
length
;
struct
rpc_ctx
*
ctx
;
struct
rpc_ctx
*
ctx
;
...
@@ -247,7 +247,7 @@ static int rtcp_write(BIO *b, char *in, int inl)
...
@@ -247,7 +247,7 @@ static int rtcp_write(BIO *b, char *in, int inl)
return
(
i
);
return
(
i
);
}
}
static
long
rtcp_ctrl
(
BIO
*
b
,
int
cmd
,
long
num
,
char
*
ptr
)
static
long
rtcp_ctrl
(
BIO
*
b
,
int
cmd
,
long
num
,
void
*
ptr
)
{
{
long
ret
=
1
;
long
ret
=
1
;
...
@@ -283,7 +283,7 @@ static int rtcp_gets(BIO *bp, char *buf, int size)
...
@@ -283,7 +283,7 @@ static int rtcp_gets(BIO *bp, char *buf, int size)
return
(
0
);
return
(
0
);
}
}
static
int
rtcp_puts
(
BIO
*
bp
,
char
*
str
)
static
int
rtcp_puts
(
BIO
*
bp
,
c
onst
c
har
*
str
)
{
{
int
length
;
int
length
;
if
(
str
==
NULL
)
return
(
0
);
if
(
str
==
NULL
)
return
(
0
);
...
...
crypto/conf/conf_api.c
浏览文件 @
0baed24c
...
@@ -64,6 +64,7 @@
...
@@ -64,6 +64,7 @@
#endif
#endif
#include <assert.h>
#include <assert.h>
#include <string.h>
#include <openssl/conf.h>
#include <openssl/conf.h>
#include <openssl/conf_api.h>
#include <openssl/conf_api.h>
...
...
crypto/crypto-lib.com
浏览文件 @
0baed24c
...
@@ -213,13 +213,13 @@ $ LIB_BIO = "bio_lib,bio_cb,bio_err,"+ -
...
@@ -213,13 +213,13 @@ $ LIB_BIO = "bio_lib,bio_cb,bio_err,"+ -
"b_sock,bss_acpt,bf_nbio,bss_rtcp,bss_bio,bss_log"
"b_sock,bss_acpt,bf_nbio,bss_rtcp,bss_bio,bss_log"
$ LIB_STACK = "stack"
$ LIB_STACK = "stack"
$ LIB_LHASH = "lhash,lh_stats"
$ LIB_LHASH = "lhash,lh_stats"
$ LIB_RAND = "md_rand,randfile,rand_lib,rand_err,rand_egd"
$ LIB_RAND = "md_rand,randfile,rand_lib,rand_err,rand_egd
,rand_win
"
$ LIB_ERR = "err,err_all,err_prn"
$ LIB_ERR = "err,err_all,err_prn"
$ LIB_OBJECTS = "o_names,obj_dat,obj_lib,obj_err"
$ LIB_OBJECTS = "o_names,obj_dat,obj_lib,obj_err"
$ LIB_EVP = "encode,digest,evp_enc,evp_key,"+ -
$ LIB_EVP = "encode,digest,evp_enc,evp_key,"+ -
"e_des,e_bf,e_idea,e_des3,"+ -
"e_des,e_bf,e_idea,e_des3,"+ -
"e_rc4,names,"+ -
"e_rc4,names,"+ -
"e_xcbc_d,e_rc2,e_cast,e_rc5
,
"
"e_xcbc_d,e_rc2,e_cast,e_rc5"
$ LIB_EVP_2 = "m_null,m_md2,m_md4,m_md5,m_sha,m_sha1," + -
$ LIB_EVP_2 = "m_null,m_md2,m_md4,m_md5,m_sha,m_sha1," + -
"m_dss,m_dss1,m_mdc2,m_ripemd,"+ -
"m_dss,m_dss1,m_mdc2,m_ripemd,"+ -
"p_open,p_seal,p_sign,p_verify,p_lib,p_enc,p_dec,"+ -
"p_open,p_seal,p_sign,p_verify,p_lib,p_enc,p_dec,"+ -
...
@@ -278,10 +278,10 @@ $!
...
@@ -278,10 +278,10 @@ $!
$ IF (F$SEARCH("SYS$DISK:[-.RSAREF]RSAREF.C").EQS."")
$ IF (F$SEARCH("SYS$DISK:[-.RSAREF]RSAREF.C").EQS."")
$ THEN
$ THEN
$!
$!
$! Tell The User That The File Do
se
n't Exist.
$! Tell The User That The File Do
es
n't Exist.
$!
$!
$ WRITE SYS$OUTPUT ""
$ WRITE SYS$OUTPUT ""
$ WRITE SYS$OUTPUT "The File [-.RSAREF]RSAREF.C Do
se
n't Exist."
$ WRITE SYS$OUTPUT "The File [-.RSAREF]RSAREF.C Do
es
n't Exist."
$ WRITE SYS$OUTPUT ""
$ WRITE SYS$OUTPUT ""
$!
$!
$! Exit The Build.
$! Exit The Build.
...
@@ -313,10 +313,10 @@ $!
...
@@ -313,10 +313,10 @@ $!
$ IF (F$SEARCH("SYS$DISK:[-.RSAREF]RSAR_ERR.C").EQS."")
$ IF (F$SEARCH("SYS$DISK:[-.RSAREF]RSAR_ERR.C").EQS."")
$ THEN
$ THEN
$!
$!
$! Tell The User That The File Do
se
n't Exist.
$! Tell The User That The File Do
es
n't Exist.
$!
$!
$ WRITE SYS$OUTPUT ""
$ WRITE SYS$OUTPUT ""
$ WRITE SYS$OUTPUT "The File [-.RSAREF]RSAR_ERR.C Do
se
n't Exist."
$ WRITE SYS$OUTPUT "The File [-.RSAREF]RSAR_ERR.C Do
es
n't Exist."
$ WRITE SYS$OUTPUT ""
$ WRITE SYS$OUTPUT ""
$!
$!
$! Exit The Build.
$! Exit The Build.
...
@@ -529,10 +529,10 @@ $!
...
@@ -529,10 +529,10 @@ $!
$ IF (F$SEARCH(SOURCE_FILE).EQS."")
$ IF (F$SEARCH(SOURCE_FILE).EQS."")
$ THEN
$ THEN
$!
$!
$! Tell The User That The File Do
se
n't Exist.
$! Tell The User That The File Do
es
n't Exist.
$!
$!
$ WRITE SYS$OUTPUT ""
$ WRITE SYS$OUTPUT ""
$ WRITE SYS$OUTPUT "The File ",SOURCE_FILE," Do
se
n't Exist."
$ WRITE SYS$OUTPUT "The File ",SOURCE_FILE," Do
es
n't Exist."
$ WRITE SYS$OUTPUT ""
$ WRITE SYS$OUTPUT ""
$!
$!
$! Exit The Build.
$! Exit The Build.
...
@@ -915,7 +915,7 @@ $!
...
@@ -915,7 +915,7 @@ $!
$ WRITE SYS$OUTPUT ""
$ WRITE SYS$OUTPUT ""
$ WRITE SYS$OUTPUT "It appears that you don't have the RSAREF Souce Code."
$ WRITE SYS$OUTPUT "It appears that you don't have the RSAREF Souce Code."
$ WRITE SYS$OUTPUT "You need to go to 'ftp://ftp.rsa.com/rsaref'. You have to"
$ WRITE SYS$OUTPUT "You need to go to 'ftp://ftp.rsa.com/rsaref'. You have to"
$ WRITE SYS$OUTPUT "get the '.tar-Z' file as the '.zip' file do
se
n't have the"
$ WRITE SYS$OUTPUT "get the '.tar-Z' file as the '.zip' file do
es
n't have the"
$ WRITE SYS$OUTPUT "directory structure stored. You have to extract the file"
$ WRITE SYS$OUTPUT "directory structure stored. You have to extract the file"
$ WRITE SYS$OUTPUT "into the [.RSAREF] directory under the root directory"
$ WRITE SYS$OUTPUT "into the [.RSAREF] directory under the root directory"
$ WRITE SYS$OUTPUT "as that is where the scripts will look for the files."
$ WRITE SYS$OUTPUT "as that is where the scripts will look for the files."
...
...
crypto/symhacks.h
浏览文件 @
0baed24c
...
@@ -64,23 +64,29 @@
...
@@ -64,23 +64,29 @@
#undef ASN1_STRING_set_default_mask_asc
#undef ASN1_STRING_set_default_mask_asc
#define ASN1_STRING_set_default_mask_asc ASN1_STRING_set_def_mask_asc
#define ASN1_STRING_set_default_mask_asc ASN1_STRING_set_def_mask_asc
#if 0 /* No longer needed, since safestack macro magic does the job */
/* Hack the names created with DECLARE_ASN1_SET_OF(PKCS7_SIGNER_INFO) */
/* Hack the names created with DECLARE_ASN1_SET_OF(PKCS7_SIGNER_INFO) */
#undef i2d_ASN1_SET_OF_PKCS7_SIGNER_INFO
#undef i2d_ASN1_SET_OF_PKCS7_SIGNER_INFO
#define i2d_ASN1_SET_OF_PKCS7_SIGNER_INFO i2d_ASN1_SET_OF_PKCS7_SIGINF
#define i2d_ASN1_SET_OF_PKCS7_SIGNER_INFO i2d_ASN1_SET_OF_PKCS7_SIGINF
#undef d2i_ASN1_SET_OF_PKCS7_SIGNER_INFO
#undef d2i_ASN1_SET_OF_PKCS7_SIGNER_INFO
#define d2i_ASN1_SET_OF_PKCS7_SIGNER_INFO d2i_ASN1_SET_OF_PKCS7_SIGINF
#define d2i_ASN1_SET_OF_PKCS7_SIGNER_INFO d2i_ASN1_SET_OF_PKCS7_SIGINF
#endif
#if 0 /* No longer needed, since safestack macro magic does the job */
/* Hack the names created with DECLARE_ASN1_SET_OF(PKCS7_RECIP_INFO) */
/* Hack the names created with DECLARE_ASN1_SET_OF(PKCS7_RECIP_INFO) */
#undef i2d_ASN1_SET_OF_PKCS7_RECIP_INFO
#undef i2d_ASN1_SET_OF_PKCS7_RECIP_INFO
#define i2d_ASN1_SET_OF_PKCS7_RECIP_INFO i2d_ASN1_SET_OF_PKCS7_REC
G
INF
#define i2d_ASN1_SET_OF_PKCS7_RECIP_INFO i2d_ASN1_SET_OF_PKCS7_RECINF
#undef d2i_ASN1_SET_OF_PKCS7_RECIP_INFO
#undef d2i_ASN1_SET_OF_PKCS7_RECIP_INFO
#define d2i_ASN1_SET_OF_PKCS7_RECIP_INFO d2i_ASN1_SET_OF_PKCS7_RECGINF
#define d2i_ASN1_SET_OF_PKCS7_RECIP_INFO d2i_ASN1_SET_OF_PKCS7_RECINF
#endif
#if 0 /* No longer needed, since safestack macro magic does the job */
/* Hack the names created with DECLARE_ASN1_SET_OF(ACCESS_DESCRIPTION) */
/* Hack the names created with DECLARE_ASN1_SET_OF(ACCESS_DESCRIPTION) */
#undef i2d_ASN1_SET_OF_ACCESS_DESCRIPTION
#undef i2d_ASN1_SET_OF_ACCESS_DESCRIPTION
#define i2d_ASN1_SET_OF_ACCESS_DESCRIPTION i2d_ASN1_SET_OF_ACC_DESC
#define i2d_ASN1_SET_OF_ACCESS_DESCRIPTION i2d_ASN1_SET_OF_ACC_DESC
#undef d2i_ASN1_SET_OF_ACCESS_DESCRIPTION
#undef d2i_ASN1_SET_OF_ACCESS_DESCRIPTION
#define d2i_ASN1_SET_OF_ACCESS_DESCRIPTION d2i_ASN1_SET_OF_ACC_DESC
#define d2i_ASN1_SET_OF_ACCESS_DESCRIPTION d2i_ASN1_SET_OF_ACC_DESC
#endif
/* Hack the names created with DECLARE_PEM_rw(NETSCAPE_CERT_SEQUENCE) */
/* Hack the names created with DECLARE_PEM_rw(NETSCAPE_CERT_SEQUENCE) */
#undef PEM_read_NETSCAPE_CERT_SEQUENCE
#undef PEM_read_NETSCAPE_CERT_SEQUENCE
...
@@ -114,6 +120,23 @@
...
@@ -114,6 +120,23 @@
#undef X509_REVOKED_get_ext_by_critical
#undef X509_REVOKED_get_ext_by_critical
#define X509_REVOKED_get_ext_by_critical X509_REVOKED_get_ext_by_critic
#define X509_REVOKED_get_ext_by_critical X509_REVOKED_get_ext_by_critic
/* Hack some long CRYPTO names */
#define CRYPTO_set_dynlock_destroy_callback CRYPTO_set_dynlock_destroy_cb
#define CRYPTO_set_dynlock_create_callback CRYPTO_set_dynlock_create_cb
#define CRYPTO_set_dynlock_lock_callback CRYPTO_set_dynlock_lock_cb
#define CRYPTO_get_dynlock_lock_callback CRYPTO_get_dynlock_lock_cb
#define CRYPTO_get_dynlock_destroy_callback CRYPTO_get_dynlock_destroy_cb
#define CRYPTO_get_dynlock_create_callback CRYPTO_get_dynlock_create_cb
/* Hack some long SSL names */
#define SSL_CTX_set_default_verify_paths SSL_CTX_set_def_verify_paths
#define SSL_get_ex_data_X509_STORE_CTX_idx SSL_get_ex_d_X509_STORE_CTX_idx
#define SSL_add_file_cert_subjects_to_stack SSL_add_file_cert_subjs_to_stk
#define SSL_add_dir_cert_subjects_to_stack SSL_add_dir_cert_subjs_to_stk
#define SSL_CTX_use_certificate_chain_file SSL_CTX_use_cert_chain_file
#define SSL_CTX_set_cert_verify_callback SSL_CTX_set_cert_verify_cb
#define SSL_CTX_set_default_passwd_cb_userdata SSL_CTX_set_def_passwd_cb_ud
#endif
/* defined VMS */
#endif
/* defined VMS */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录