Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rust Openssl
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Public Repositories
Rust Openssl
Commits
a3b3ad16
Commit
a3b3ad16
authored
Apr 20, 2021
by
Charlie Li
Browse files
Options
Downloads
Patches
Plain Diff
Add cfgs for LibreSSL 3.3.2
parent
ef515d7c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
openssl-sys/build/cfgs.rs
+3
-0
3 additions, 0 deletions
openssl-sys/build/cfgs.rs
openssl/build.rs
+4
-0
4 additions, 0 deletions
openssl/build.rs
with
7 additions
and
0 deletions
openssl-sys/build/cfgs.rs
+
3
−
0
View file @
a3b3ad16
...
...
@@ -31,6 +31,9 @@ pub fn get(openssl_version: Option<u64>, libressl_version: Option<u64>) -> Vec<&
if
libressl_version
>=
0x3_02_01_00_0
{
cfgs
.push
(
"libressl321"
);
}
if
libressl_version
>=
0x3_03_02_00_0
{
cfgs
.push
(
"libressl332"
);
}
}
else
{
let
openssl_version
=
openssl_version
.unwrap
();
...
...
This diff is collapsed.
Click to expand it.
openssl/build.rs
+
4
−
0
View file @
a3b3ad16
...
...
@@ -67,5 +67,9 @@ fn main() {
if
version
>=
0x3_02_01_00_0
{
println!
(
"cargo:rustc-cfg=libressl321"
);
}
if
version
>=
0x3_03_02_00_0
{
println!
(
"cargo:rustc-cfg=libressl332"
);
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment