mirror of
https://github.com/curl/curl.git
synced 2026-04-15 00:41:41 +03:00
tests/server: drop unused base64.pl
When committed in 2004, it served as a developer helper tool while `coreutils` was yet missing a `base64` command. Assisted-by: Dan Fandrich Closes #16713
This commit is contained in:
parent
af6ec8e430
commit
63cf464793
2 changed files with 1 additions and 33 deletions
|
|
@ -49,7 +49,7 @@ endif
|
|||
# Makefile.inc provides neat definitions
|
||||
include Makefile.inc
|
||||
|
||||
EXTRA_DIST = base64.pl CMakeLists.txt .checksrc
|
||||
EXTRA_DIST = CMakeLists.txt .checksrc
|
||||
|
||||
CHECKSRC = $(CS_$(V))
|
||||
CS_0 = @echo " RUN " $@;
|
||||
|
|
|
|||
|
|
@ -1,32 +0,0 @@
|
|||
#!/usr/bin/env perl
|
||||
#***************************************************************************
|
||||
# _ _ ____ _
|
||||
# Project ___| | | | _ \| |
|
||||
# / __| | | | |_) | |
|
||||
# | (__| |_| | _ <| |___
|
||||
# \___|\___/|_| \_\_____|
|
||||
#
|
||||
# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
#
|
||||
# This software is licensed as described in the file COPYING, which
|
||||
# you should have received as part of this distribution. The terms
|
||||
# are also available at https://curl.se/docs/copyright.html.
|
||||
#
|
||||
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||
# copies of the Software, and permit persons to whom the Software is
|
||||
# furnished to do so, under the terms of the COPYING file.
|
||||
#
|
||||
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||
# KIND, either express or implied.
|
||||
#
|
||||
# SPDX-License-Identifier: curl
|
||||
#
|
||||
###########################################################################
|
||||
|
||||
use MIME::Base64 qw(encode_base64);
|
||||
|
||||
my $buf;
|
||||
while(read(STDIN, $buf, 60*57)) {
|
||||
my $enc = encode_base64($buf);
|
||||
print "$enc";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue