Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ShellB3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ray Garcia
ShellB3
Commits
10f53bb6
Commit
10f53bb6
authored
7 months ago
by
Joe Garcia
Browse files
Options
Downloads
Patches
Plain Diff
3.4.0 beta1 ssl
parent
29da8bd0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ShellB3/shallbethree.sh
+69
-2
69 additions, 2 deletions
ShellB3/shallbethree.sh
ShellB3/src/sys/openssl-3.4.0-beta1.tar.gz
+3
-0
3 additions, 0 deletions
ShellB3/src/sys/openssl-3.4.0-beta1.tar.gz
with
72 additions
and
2 deletions
ShellB3/shallbethree.sh
+
69
−
2
View file @
10f53bb6
...
...
@@ -1495,7 +1495,7 @@ export OPENSSL300VER=3.0.0
export OPENSSL300FILESUFFIX=.so.3
export OPENSSL300ALTFILESUFFIX=""
export OPENSSLBUNDLEDVER=3.
3.2
#this is actually the latest stable version. used if explicitly bundled. not considered secure long-term
export OPENSSLBUNDLEDVER=3.
4.0-beta1
#this is actually the latest stable version. used if explicitly bundled. not considered secure long-term
export M4VER=1.4.19
export AUTOCONFVER=2.71
...
...
@@ -6780,7 +6780,8 @@ _mk_openssl() {
loadSSLVersion bundled
_find_cots_lib BUILT_SSL libssl $BASE && return 0 #already built
DIRNAMECOUNT=2
make_patch openssl <<PATCH
if false ; then
make_patch openssl <<PATCH
diff -ru crypto/cversion.c crypto/cversion.c
--- crypto/cversion.c 2022-11-01 09:14:36
+++ crypto/cversion.c 2022-11-13 18:55:26
...
...
@@ -6912,6 +6913,72 @@ diff -ru crypto/provider_core.c crypto/provider_core.c
# define X509_CERT_AREA "OSSL$DATAROOT:[000000]"
# define X509_CERT_DIR "OSSL$DATAROOT:[CERTS]"
PATCH
else
make_patch openssl <<PATCH
diff -ru crypto/defaults.c crypto/defaults.c
--- crypto/defaults.c 2024-10-07 08:15:43
+++ crypto/defaults.c 2024-10-07 09:54:11
@@ -137,6 +137,10 @@
}
#endif /* defined(_WIN32) && defined(OSSL_WINCTX) */
+extern const char *openssld(void);
+extern const char *enginesd(void);
+extern const char *modulesd(void);
+
/**
* @brief Get the directory where OpenSSL is installed.
*
@@ -149,7 +153,7 @@
return NULL;
return (const char *)openssldirptr;
# else
- return OPENSSLDIR;
+ return openssld();
#endif
}
@@ -165,7 +169,7 @@
return NULL;
return (const char *)enginesdirptr;
#else
- return ENGINESDIR;
+ return enginesd();
#endif
}
@@ -181,7 +185,7 @@
return NULL;
return (const char *)modulesdirptr;
#else
- return MODULESDIR;
+ return modulesd();
#endif
}
--- include/internal/common.h 2024-01-30 22:19:50
+++ include/internal/common.h 2024-01-30 22:19:22
@@ -81,11 +81,13 @@
# define OPENSSL_CONF "openssl.cnf"
# ifndef OPENSSL_SYS_VMS
-# define X509_CERT_AREA OPENSSLDIR
-# define X509_CERT_DIR OPENSSLDIR "/certs"
-# define X509_CERT_FILE OPENSSLDIR "/cert.pem"
-# define X509_PRIVATE_DIR OPENSSLDIR "/private"
-# define CTLOG_FILE OPENSSLDIR "/ct_log_list.cnf"
+extern const char *openssld(void);
+extern const char *openssldsuff(unsigned int enm,const char *suff);
+# define X509_CERT_AREA openssld()
+# define X509_CERT_DIR openssldsuff(1,"/certs")
+# define X509_CERT_FILE openssldsuff(2,"/cert.pem")
+# define X509_PRIVATE_DIR openssldsuff(3,"/private")
+# define CTLOG_FILE openssldsuff(4,"/ct_log_list.cnf")
# else
# define X509_CERT_AREA "OSSL$DATAROOT:[000000]"
# define X509_CERT_DIR "OSSL$DATAROOT:[CERTS]"
PATCH
fi
make_script openssl <<SCRIPT
cat >>crypto/cversion.c <<RELATIVESB3
#define _GNU_SOURCE
...
...
This diff is collapsed.
Click to expand it.
ShellB3/src/sys/openssl-3.4.0-beta1.tar.gz
0 → 100644
LFS
+
3
−
0
View file @
10f53bb6
File added
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