Changeset 3d88f65 for skype/t


Ignore:
Timestamp:
2010-08-03T11:57:08Z (14 years ago)
Author:
Miklos Vajna <vmiklos@…>
Branches:
master
Children:
f5ae4a10
Parents:
3adc247
Message:

tests: don't generate new certs all the time if not needed

this is a hack, looks like openssl-1.0 generates something which is not
compatible with python-gnutls, let's reuse what we have for now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skype/t/livetest-bitlbee.sh

    r3adc247 r3d88f65  
    2323cd etc
    2424cp ../../skyped.cnf .
    25 yes ""|openssl req -new -x509 -days 365 -nodes -config skyped.cnf -out skyped.cert.pem -keyout skyped.key.pem 2> openssl.log
     25if [ ! -e ~/.skyped/skyped.cert.pem -o ! -e ~/.skyped/skyped.key.pem ]; then
     26        yes ""|openssl req -new -x509 -days 365 -nodes -config skyped.cnf -out skyped.cert.pem -keyout skyped.key.pem 2> openssl.log
     27else
     28        cp ~/.skyped/skyped.cert.pem .
     29        cp ~/.skyped/skyped.key.pem .
     30fi
    2631cd ..
    2732echo "[skyped]" > skyped.conf
Note: See TracChangeset for help on using the changeset viewer.