[linux] ubuntu22.04安装openssl1.1
openssl
传输层安全性/安全套接层及其加密库
项目地址:https://gitcode.com/gh_mirrors/ope/openssl
免费下载资源
·
ubuntu22.04默认openssl3,修改openssl版本
# 下载openssl1.1
wget https://www.openssl.org/source/openssl-1.1.1.tar.gz
# 解压到/usr/local/src中
tar -xf openssl-1.1.1.tar.gz –C /usr/local/src
# 安装
cd /usr/local/src/openssl-1.1.1
./config --prefix=/usr/local/ssl -Wl,-rpath=/usr/local/ssl/lib
make
sudo make install
# 安装成功后,您可以在系统中查找OpenSSL
ls /usr/local/ssl/bin/
#配置环境变量让系统自动识别OpenSSL
sudo vi /etc/profile or sudo vi ~/.bashrc
export PATH=/usr/local/ssl/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/ssl/lib:$LD_LIBRARY_PATH
source /etc/profile or source ~/.bashrc
# 查看penSSL版本
openssl version -a
GitHub 加速计划 / ope / openssl
20
1
下载
传输层安全性/安全套接层及其加密库
最近提交(Master分支:3 个月前 )
5b94140b
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26462)
1 天前
1dafff06
When a requested parameter has a non-NULL result pointer,
and the error isn't simply that the result buffer is too
small, don't return a non-zero result size.
Returning a non-zero result size that isn't larger than the
user's provided space is an indication that a result of
that size was actually written, inviting trouble if the
error indication was inadvertenly lost.
Also, in such cases (wrong type, data can't be converted to the
requested type when otherwise supported, ...) there is nothing useful to
be done with the return size value, it can't help to address the
problem.
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/26436)
1 天前
更多推荐
已为社区贡献2条内容
所有评论(0)