summaryrefslogtreecommitdiff
path: root/fuzz/harnesses/cred-rsa-h-p
diff options
context:
space:
mode:
Diffstat (limited to 'fuzz/harnesses/cred-rsa-h-p')
-rwxr-xr-xfuzz/harnesses/cred-rsa-h-p32
1 files changed, 0 insertions, 32 deletions
diff --git a/fuzz/harnesses/cred-rsa-h-p b/fuzz/harnesses/cred-rsa-h-p
deleted file mode 100755
index bb14c23..0000000
--- a/fuzz/harnesses/cred-rsa-h-p
+++ /dev/null
@@ -1,32 +0,0 @@
1#!/bin/bash -u
2# Copyright (c) 2019 Yubico AB. All rights reserved.
3# Use of this source code is governed by a BSD-style
4# license that can be found in the LICENSE file.
5
6T=cred-rsa-h-p
7
8sync() {
9 mkdir ${T}
10 ssh "${REMOTE}" "cd ${T}/afl-out && tar -cf- queue" | tar -C ${T} -xf-
11}
12
13run() {
14 find ${T}/queue -type f | while read f; do
15 cat "${f}" | LD_PRELOAD=${PRELOAD} build/examples/cred \
16 -t rsa -r -k ${T}/pubkey -i ${T}/cred_id -h nodev \
17 2>/dev/null 1>&2
18 done
19}
20
21case "$1" in
22sync)
23 sync
24 ;;
25run)
26 run
27 exit 0
28 ;;
29*)
30 echo unknown command "$1"
31 exit 1
32esac