Skip to content

Commit

Permalink
output from writerand is unused
Browse files Browse the repository at this point in the history
so doesn't need to be written.

See man 1 openssl for "Random State Options", -rand option reads
the output from -writerand and that's unused here and apparently
unnecessary since OpenSSL 1.1.1

Signed-off-by: Caolán McNamara <[email protected]>
Change-Id: Ia3709f993b71644be8f0b816a88212efc7b76092
  • Loading branch information
caolanm authored and timar committed Mar 7, 2025
1 parent 6ea1ad0 commit d26d3bf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion docker/from-packages/scripts/start-collabora-online.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ if test "${DONT_GEN_SSL_CERT-set}" = set; then
mkdir -p /tmp/ssl/
cd /tmp/ssl/
mkdir -p certs/ca
openssl rand -writerand /opt/cool/.rnd
openssl genrsa -out certs/ca/root.key.pem 2048
openssl req -x509 -new -nodes -key certs/ca/root.key.pem -days 9131 -out certs/ca/root.crt.pem -subj "/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=Dummy Authority"
mkdir -p certs/servers
Expand Down
1 change: 0 additions & 1 deletion docker/from-source-gh-action/start-collabora-online.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ if test "${DONT_GEN_SSL_CERT-set}" = set; then
mkdir -p /tmp/ssl/
cd /tmp/ssl/
mkdir -p certs/ca
openssl rand -writerand /opt/cool/.rnd
openssl genrsa -out certs/ca/root.key.pem 2048
openssl req -x509 -new -nodes -key certs/ca/root.key.pem -days 9131 -out certs/ca/root.crt.pem -subj "/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=Dummy Authority"
mkdir -p certs/servers
Expand Down

0 comments on commit d26d3bf

Please sign in to comment.