From d7f921c96b840316476cfc9533786bc3a17c83fb Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Fri, 15 May 2020 13:27:56 +0100 Subject: [PATCH] Remove old dead files --- ...th-to-openconnect-in-bash-completion.patch | 28 ---------- libopenconnect15.map | 51 ------------------- library15.c | 33 ------------ 3 files changed, 112 deletions(-) delete mode 100644 0001-Fix-path-to-openconnect-in-bash-completion.patch delete mode 100644 libopenconnect15.map delete mode 100644 library15.c diff --git a/0001-Fix-path-to-openconnect-in-bash-completion.patch b/0001-Fix-path-to-openconnect-in-bash-completion.patch deleted file mode 100644 index 2150991..0000000 --- a/0001-Fix-path-to-openconnect-in-bash-completion.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 7eba845059e8e373c59391b0520678ea833c6c76 Mon Sep 17 00:00:00 2001 -From: David Woodhouse -Date: Sat, 2 May 2020 09:25:29 +0100 -Subject: [PATCH] Fix path to openconnect in bash completion - -Oops, that wasn't supposed to get committed like that. - -Signed-off-by: David Woodhouse ---- - bash/openconnect.bash | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/bash/openconnect.bash b/bash/openconnect.bash -index 5ca05934..a235dfc0 100644 ---- a/bash/openconnect.bash -+++ b/bash/openconnect.bash -@@ -79,7 +79,7 @@ _complete_openconnect () { - #_get_comp_words_by_ref-n =: -w COMP_WORDS -i COMP_CWORD cur - COMP_WORDS[0]="--autocomplete" - local IFS=$'\n' -- COMPREPLY=( $(COMP_CWORD=$COMP_CWORD /home/dwmw/git/openconnect/gtls-ibm/openconnect "${COMP_WORDS[@]}") ) -+ COMPREPLY=( $(COMP_CWORD=$COMP_CWORD openconnect "${COMP_WORDS[@]}") ) - local FILTERPAT="${COMPREPLY[1]}" - local PREFIX="${COMPREPLY[2]}" - local COMP_WORD=${cur#${PREFIX}} --- -2.17.1 - diff --git a/libopenconnect15.map b/libopenconnect15.map deleted file mode 100644 index 39e5f31..0000000 --- a/libopenconnect15.map +++ /dev/null @@ -1,51 +0,0 @@ -OPENCONNECT_1.0 { - global: - openconnect_clear_cookie; - openconnect_get_cert_sha1; - openconnect_get_cookie; - openconnect_get_hostname; - openconnect_get_peer_cert; - openconnect_get_port; - openconnect_get_urlpath; - openconnect_get_version; - openconnect_init_openssl; - openconnect_obtain_cookie; - openconnect_parse_url; - openconnect_passphrase_from_fsid; - openconnect_reset_ssl; - openconnect_set_cafile; - openconnect_set_client_cert; - openconnect_set_hostname; - openconnect_set_http_proxy; - openconnect_setup_csd; - openconnect_set_urlpath; - openconnect_set_xmlsha1; - openconnect_vpninfo_new; - local: - *; -}; -OPENCONNECT_1.1 { - global: - openconnect_vpninfo_free; -} OPENCONNECT_1.0; - -OPENCONNECT_1.2 { - global: - openconnect_vpninfo_new_with_cbdata; -} OPENCONNECT_1.1; - -OPENCONNECT_1.3 { - global: - openconnect_set_cert_expiry_warning; -} OPENCONNECT_1.2; - -OPENCONNECT_1.4 { - global: - openconnect_set_cancel_fd; -} OPENCONNECT_1.3; - -OPENCONNECT_1.5 { - global: - openconnect_get_cert_details; - openconnect_get_cert_DER; -} OPENCONNECT_1.4; diff --git a/library15.c b/library15.c deleted file mode 100644 index 0496cdf..0000000 --- a/library15.c +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef OPENCONNECT_OPENSSL -#error Cannot pretend to be compatible if not building with OpenSSL -#endif - -#define openconnect_vpninfo_new openconnect_vpninfo_new_with_cbdata -#include "library.c" -#undef openconnect_vpninfo_new - -struct openconnect_info * -openconnect_vpninfo_new (char *useragent, - openconnect_validate_peer_cert_vfn validate_peer_cert, - openconnect_write_new_config_vfn write_new_config, - openconnect_process_auth_form_vfn process_auth_form, - openconnect_progress_vfn progress); -struct openconnect_info * -openconnect_vpninfo_new (char *useragent, - openconnect_validate_peer_cert_vfn validate_peer_cert, - openconnect_write_new_config_vfn write_new_config, - openconnect_process_auth_form_vfn process_auth_form, - openconnect_progress_vfn progress) -{ - return openconnect_vpninfo_new_with_cbdata(useragent, - validate_peer_cert, - write_new_config, - process_auth_form, - progress, NULL); -} - -void openconnect_init_openssl(void); -void openconnect_init_openssl(void) -{ - openconnect_init_ssl(); -}