parent
9794151c28
commit
d7f921c96b
@ -1,28 +0,0 @@
|
|||||||
From 7eba845059e8e373c59391b0520678ea833c6c76 Mon Sep 17 00:00:00 2001
|
|
||||||
From: David Woodhouse <dwmw2@infradead.org>
|
|
||||||
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 <dwmw2@infradead.org>
|
|
||||||
---
|
|
||||||
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
|
|
||||||
|
|
@ -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;
|
|
@ -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();
|
|
||||||
}
|
|
Loading…
Reference in new issue