mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* defs.inc: Use new --list-config method to get cipher and digest
names.
This commit is contained in:
parent
c756a493c9
commit
ccf5233565
3 changed files with 7 additions and 3 deletions
|
@ -131,11 +131,11 @@ have_hash_algo () {
|
|||
}
|
||||
|
||||
all_cipher_algos () {
|
||||
../g10/gpg --homedir . --version | grep "Cipher" | sed 's/^Cipher: //; s/,//g'
|
||||
../g10/gpg --homedir . --with-colons --list-config ciphername | sed 's/^cfg:ciphername://; s/;/ /g'
|
||||
}
|
||||
|
||||
all_hash_algos () {
|
||||
../g10/gpg --homedir . --version | grep "Hash" | sed 's/^Hash: //; s/,//g'
|
||||
../g10/gpg --homedir . --with-colons --list-config digestname | sed 's/^cfg:digestname://; s/;/ /g'
|
||||
}
|
||||
|
||||
set -e
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue