Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
openssl
提交
535fba49
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,发现更多精彩内容 >>
提交
535fba49
编写于
5月 01, 2003
作者:
R
Richard Levitte
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Define the OPENSSL_ITEM structure.
上级
7e4140f7
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
18 addition
and
1 deletion
+18
-1
CHANGES
CHANGES
+5
-0
crypto/crypto.h
crypto/crypto.h
+13
-1
未找到文件。
CHANGES
浏览文件 @
535fba49
...
@@ -4,6 +4,11 @@
...
@@ -4,6 +4,11 @@
Changes between 0.9.7a and 0.9.8 [xx XXX xxxx]
Changes between 0.9.7a and 0.9.8 [xx XXX xxxx]
*) Add a generic structure called OPENSSL_ITEM. This can be used to
pass a list of arguments to any function as well as provide a way
for a function to pass data back to the caller.
[Richard Levitte]
*) Add the functions BUF_strndup() and BUF_memdup(). BUF_strndup()
*) Add the functions BUF_strndup() and BUF_memdup(). BUF_strndup()
works like BUF_strdup() but can be used to duplicate a portion of
works like BUF_strdup() but can be used to duplicate a portion of
a string. The copy gets NUL-terminated. BUF_memdup() duplicates
a string. The copy gets NUL-terminated. BUF_memdup() duplicates
...
...
crypto/crypto.h
浏览文件 @
535fba49
...
@@ -152,6 +152,16 @@ extern "C" {
...
@@ -152,6 +152,16 @@ extern "C" {
#define SSLEAY_PLATFORM 4
#define SSLEAY_PLATFORM 4
#define SSLEAY_DIR 5
#define SSLEAY_DIR 5
/* A generic structure to pass assorted data in a expandable way */
typedef
struct
openssl_item_st
{
int
code
;
void
*
value
;
/* Not used for flag attributes */
size_t
value_size
;
/* Max size of value for output, length for input */
size_t
*
value_length
;
/* Returned length of value for output */
}
OPENSSL_ITEM
;
/* When changing the CRYPTO_LOCK_* list, be sure to maintin the text lock
/* When changing the CRYPTO_LOCK_* list, be sure to maintin the text lock
* names in cryptlib.c
* names in cryptlib.c
*/
*/
...
@@ -192,7 +202,8 @@ extern "C" {
...
@@ -192,7 +202,8 @@ extern "C" {
#define CRYPTO_LOCK_ECDH 34
#define CRYPTO_LOCK_ECDH 34
#define CRYPTO_LOCK_BN 35
#define CRYPTO_LOCK_BN 35
#define CRYPTO_LOCK_EC_PRE_COMP 36
#define CRYPTO_LOCK_EC_PRE_COMP 36
#define CRYPTO_NUM_LOCKS 37
#define CRYPTO_LOCK_STORE 37
#define CRYPTO_NUM_LOCKS 38
#define CRYPTO_LOCK 1
#define CRYPTO_LOCK 1
#define CRYPTO_UNLOCK 2
#define CRYPTO_UNLOCK 2
...
@@ -302,6 +313,7 @@ DECLARE_STACK_OF(CRYPTO_EX_DATA_FUNCS)
...
@@ -302,6 +313,7 @@ DECLARE_STACK_OF(CRYPTO_EX_DATA_FUNCS)
#define CRYPTO_EX_INDEX_ECDSA 12
#define CRYPTO_EX_INDEX_ECDSA 12
#define CRYPTO_EX_INDEX_ECDH 13
#define CRYPTO_EX_INDEX_ECDH 13
#define CRYPTO_EX_INDEX_COMP 14
#define CRYPTO_EX_INDEX_COMP 14
#define CRYPTO_EX_INDEX_STORE 15
/* Dynamically assigned indexes start from this value (don't use directly, use
/* Dynamically assigned indexes start from this value (don't use directly, use
* via CRYPTO_ex_data_new_class). */
* via CRYPTO_ex_data_new_class). */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录