summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2003-06-18 18:27:59 +0000
committerWerner Koch <wk@gnupg.org>2003-06-18 18:27:59 +0000
commit3c9d0b4898f05b9b494a8fa505d2c16b51483e4d (patch)
tree872e481fcdac200030b46d9b160c2eb1dc76decf /scripts
parentb99f9e0dc418ed042c574328948a4f7827430454 (diff)
downloadlibgcrypt-3c9d0b4898f05b9b494a8fa505d2c16b51483e4d.tar.gz
* basic.c (check_cbc_mac_cipher): Adjusted for new API of get_blklen
and get_keylen. (check_ctr_cipher): Ditto. (check_one_cipher): Ditto. (check_one_md): Adjusted for new API of gcry_md_copy. * benchmark.c (cipher_bench): Adjusted for new API of get_blklen and get_keylen. * gcrypt.h (gcry_cipher_get_algo_blklen) (gcry_cipher_get_algo_keylen): Replaced macro by funcion. * cipher.c (gcry_cipher_get_algo_keylen): New. (gcry_cipher_get_algo_blklen): New.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install-sh2
-rwxr-xr-xscripts/missing10
2 files changed, 6 insertions, 6 deletions
diff --git a/scripts/install-sh b/scripts/install-sh
index 398a88e1..11870f1b 100755
--- a/scripts/install-sh
+++ b/scripts/install-sh
@@ -128,7 +128,7 @@ else
# might cause directories to be created, which would be especially bad
# if $src (and thus $dsttmp) contains '*'.
- if [ -f $src -o -d $src ]
+ if [ -f "$src" ] || [ -d "$src" ]
then
:
else
diff --git a/scripts/missing b/scripts/missing
index dd583709..6a37006e 100755
--- a/scripts/missing
+++ b/scripts/missing
@@ -1,6 +1,6 @@
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
-# Copyright 1996, 1997, 1999, 2000 Free Software Foundation, Inc.
+# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
@@ -293,23 +293,23 @@ WARNING: \`$1' is missing on your system. You should only need it if
# Look for gnutar/gtar before invocation to avoid ugly error
# messages.
if (gnutar --version > /dev/null 2>&1); then
- gnutar ${1+"$@"} && exit 0
+ gnutar "$@" && exit 0
fi
if (gtar --version > /dev/null 2>&1); then
- gtar ${1+"$@"} && exit 0
+ gtar "$@" && exit 0
fi
firstarg="$1"
if shift; then
case "$firstarg" in
*o*)
firstarg=`echo "$firstarg" | sed s/o//`
- tar "$firstarg" ${1+"$@"} && exit 0
+ tar "$firstarg" "$@" && exit 0
;;
esac
case "$firstarg" in
*h*)
firstarg=`echo "$firstarg" | sed s/h//`
- tar "$firstarg" ${1+"$@"} && exit 0
+ tar "$firstarg" "$@" && exit 0
;;
esac
fi