Skip to content

Commit 2028cf0

Browse files
authored
Merge pull request #208 from anhu/expired_certs
Regenerate OpenSSL's test certificates. Might be expired.
2 parents 25a330e + 8754375 commit 2028cf0

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/test/smime-certs/mksmime-certs.sh b/test/smime-certs/mksmime-certs.sh
2+
index c98e164b..8fad96c2
3+
--- a/test/smime-certs/mksmime-certs.sh
4+
+++ b/test/smime-certs/mksmime-certs.sh
5+
@@ -9,7 +9,7 @@
6+
7+
# Utility to recreate S/MIME certificates
8+
9+
-OPENSSL=../../apps/openssl
10+
+OPENSSL=openssl
11+
OPENSSL_CONF=./ca.cnf
12+
export OPENSSL_CONF
13+

scripts/openssl-unit-tests.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,17 @@ setup_openssl_111b() {
261261

262262
patch_openssl
263263

264+
#update the certificates so they are not expired.
265+
cd test
266+
cd certs
267+
./setup.sh
268+
cd ..
269+
cd smime-certs
270+
chmod a+x mksmime-certs.sh
271+
./mksmime-certs.sh
272+
cd ..
273+
cd ..
274+
264275
if [ -z "${OPENSSL_NO_CONFIG}" ]; then
265276
printf "\tConfiguring.\n"
266277
# Configure for debug.

0 commit comments

Comments
 (0)