cryptodev_digest_copy: return error if allocating dstate->mac_data fails
[openssl.git] / util / shlib_wrap.sh
index 9416d593d2b8d48fcb4579f6718826b8813501bd..8775cb5411e1f2397eb0e138203b2c9636411f50 100755 (executable)
@@ -90,4 +90,8 @@ fi
 
 cmd="$1${EXE_EXT}"
 shift
-exec "$cmd" "$@"
+if [ $# -eq 0 ]; then
+       exec "$cmd"     # old sh, such as Tru64 4.x, fails to expand empty "$@"
+else
+       exec "$cmd" "$@"
+fi