From d939deb811c41bcf55e381b7b80228fb7af017d1 Mon Sep 17 00:00:00 2001 From: Jonathan Bennett Date: Sun, 10 Apr 2016 12:02:21 -0500 Subject: [PATCH] Spelling corrections, found using the codespell tool. --- CREDITS | 2 +- ChangeLog | 4 ++-- .../src/com/max2idea/android/fwknop/Fwknop.java | 2 +- client/config_init.c | 6 +++--- client/getpasswd.c | 4 ++-- client/spa_comm.c | 4 ++-- client/utils.c | 2 +- common/fko_util.c | 8 ++++---- common/fko_util.h | 2 +- doc/README | 4 ++-- doc/libfko.texi | 8 ++++---- extras/openwrt/README.openwrt | 4 ++-- iphone/Classes/libfwknop/fko_common.b | 2 +- lib/fko.h | 4 ++-- lib/fko_common.h | 2 +- lib/fko_context.h | 4 ++-- lib/fko_digest.c | 2 +- lib/fko_message.c | 2 +- lib/fko_nat_access.c | 2 +- lib/fko_server_auth.c | 2 +- lib/fko_state.h | 2 +- lib/fko_user.c | 4 ++-- lib/sha2.c | 2 +- perl/FKO/lib/FKO.pm | 2 +- perl/legacy/fwknop/ChangeLog | 4 ++-- perl/legacy/fwknop/deps/Class-MethodMaker/Changes | 10 +++++----- .../fwknop/deps/Class-MethodMaker/components/scalar.m | 2 +- .../Class-MethodMaker/lib/Class/MethodMaker/Engine.pm | 4 ++-- .../lib/Class/MethodMaker/V1Compat.pm | 2 +- perl/legacy/fwknop/deps/Class-MethodMaker/t/array.t | 6 +++--- perl/legacy/fwknop/deps/Class-MethodMaker/t/hash.t | 4 ++-- perl/legacy/fwknop/deps/Class-MethodMaker/t/scalar.t | 2 +- perl/legacy/fwknop/deps/GnuPG-Interface/ChangeLog | 2 +- perl/legacy/fwknop/deps/GnuPG-Interface/NEWS | 2 +- .../fwknop/deps/GnuPG-Interface/lib/GnuPG/Interface.pm | 2 +- perl/legacy/fwknop/deps/Net-IPv4Addr/debian/rules | 2 +- perl/legacy/fwknop/deps/Net-Pcap/Pcap.pm | 4 ++-- perl/legacy/fwknop/deps/Net-RawIP/Changes | 6 +++--- perl/legacy/fwknop/deps/Net-RawIP/examples/macof | 2 +- perl/legacy/fwknop/deps/Net-RawIP/lib/Net/RawIP.pm | 4 ++-- perl/legacy/fwknop/deps/TermReadKey/Configure.pm | 8 ++++---- perl/legacy/fwknop/deps/TermReadKey/README | 4 ++-- perl/legacy/fwknop/deps/TermReadKey/ReadKey.pm | 2 +- perl/legacy/fwknop/deps/TermReadKey/ppport.h | 2 +- perl/legacy/fwknop/deps/TermReadKey/test.pl | 2 +- perl/legacy/fwknop/deps/Unix-Syslog/test.pl | 2 +- perl/legacy/fwknop/fwknop.8 | 2 +- perl/legacy/fwknop/fwknop.conf | 2 +- perl/legacy/fwknop/fwknopd | 2 +- perl/legacy/fwknop/install.pl | 2 +- python/fko.py | 2 +- server/fw_util_ipfw.c | 2 +- server/incoming_spa.c | 4 ++-- server/log_msg.c | 4 ++-- .../patches/enable_perl_fko_bogus_packets.patch | 6 +++--- test/test-fwknop.pl | 2 +- 56 files changed, 93 insertions(+), 93 deletions(-) diff --git a/CREDITS b/CREDITS index 0cbde9cb..3cfe2e32 100644 --- a/CREDITS +++ b/CREDITS @@ -225,7 +225,7 @@ Alexander Kozhevnikov Dan Brooks - Contributed a patch for the Android client app to add the definition of - custom server udp port. This is similiar to the --server-port argument + custom server udp port. This is similar to the --server-port argument offered by the main fwknop client. Github user 'sgh7': diff --git a/ChangeLog b/ChangeLog index 19b95fcd..9721fbfd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -81,7 +81,7 @@ fwknop-2.6.6 (04/23/2015): default from accessing the broader Internet until a valid SPA packet is sent to the gateway. Two new access.conf variables support this feature: DISABLE_DNAT (do not build any DNAT rules for forwarded connections) and - FORWARD_ALL (allow all traffic to be forwarded instead of specfic + FORWARD_ALL (allow all traffic to be forwarded instead of specific services requested within an SPA packet). So far, this feature is only supported on systems running iptables or firewalld. The idea was contributed by "spartan1833" to the fwknop mailing list, and this became @@ -90,7 +90,7 @@ fwknop-2.6.6 (04/23/2015): pcap.h, which is likely not installed whenever libpcap is also not installed. This bug was reported by Alexander Kozhevnikov. - [android] (Dan Brooks) Contributed a patch for the Android client app to - add the definition of custom server udp port. This is similiar to the + add the definition of custom server udp port. This is similar to the --server-port argument offered by the main fwknop client. - [test suite] Handle versions of lcov that don't have the --rc argument which is normally used to force the creation of branch coverage stats diff --git a/android/project/src/com/max2idea/android/fwknop/Fwknop.java b/android/project/src/com/max2idea/android/fwknop/Fwknop.java index d1c38b29..edf1ff2c 100644 --- a/android/project/src/com/max2idea/android/fwknop/Fwknop.java +++ b/android/project/src/com/max2idea/android/fwknop/Fwknop.java @@ -238,7 +238,7 @@ public class Fwknop extends Activity { } } -// Another Generic Messanger +// Another Generic Messenger public static void sendHandlerMessage(Handler handler, int message_type) { Message msg1 = handler.obtainMessage(); Bundle b = new Bundle(); diff --git a/client/config_init.c b/client/config_init.c index 37f8503e..8666ce32 100644 --- a/client/config_init.c +++ b/client/config_init.c @@ -667,7 +667,7 @@ set_rc_file(char *rcfile, fko_cli_options_t *options) rcf_offset = strlen(rcfile); /* Sanity check the path to .fwknoprc. - * The preceeding path plus the path separator and '.fwknoprc' = 11 + * The preceding path plus the path separator and '.fwknoprc' = 11 * cannot exceed MAX_PATH_LEN. */ if(rcf_offset > (MAX_PATH_LEN - 11)) @@ -801,7 +801,7 @@ create_fwknoprc(const char *rcfile) * If the rcfile already exists, an error is returned */ rcfile_fd = open(rcfile, FWKNOPRC_OFLAGS ,FWKNOPRC_MODE); - // If an error occured ... + // If an error occurred ... if (rcfile_fd == -1) { log_msg(LOG_VERBOSITY_WARNING, "Unable to create initial rc file: %s: %s", rcfile, strerror(errno)); @@ -1511,7 +1511,7 @@ add_multiple_vars_to_rc(FILE* rc, fko_cli_options_t *options, fko_var_bitmask_t * be stored. * * @return 0 if the section has been found and processed successfully - * a negative value if one or more errors occured + * a negative value if one or more errors occurred */ static int process_rc_section(char *section_name, fko_cli_options_t *options) diff --git a/client/getpasswd.c b/client/getpasswd.c index fd8b4ffc..f554fb41 100644 --- a/client/getpasswd.c +++ b/client/getpasswd.c @@ -123,7 +123,7 @@ read_passwd_from_stream(FILE *stream) * @param fd File descriptor to use to read the pasword from. If fd is set * to FD_INVALID, then a new stream is opened. * - * @return NULL if a problem occured or the user killed the terminal (Ctrl-C)\n + * @return NULL if a problem occurred or the user killed the terminal (Ctrl-C)\n * otherwise the password - empty password is accepted. */ char* @@ -175,7 +175,7 @@ getpasswd(const char *prompt, int fd) * Save current tty state for later restoration after we : * - disable echo of characters to the tty * - disable signal generation - * - disable cannonical mode (input read line by line mode) + * - disable canonical mode (input read line by line mode) */ tcgetattr(fileno(fp), &ts); old_c_lflag = ts.c_lflag; diff --git a/client/spa_comm.c b/client/spa_comm.c index 72772e21..46b59ecb 100644 --- a/client/spa_comm.c +++ b/client/spa_comm.c @@ -556,7 +556,7 @@ send_spa_packet_http(const char *spa_data, const int sd_len, else /* we are sending the SPA packet through an HTTP proxy */ { /* Extract the hostname if it was specified as a URL. Actually, - * we just move the start of the hostname to the begining of the + * we just move the start of the hostname to the beginning of the * original string. */ if(strncasecmp(ndx, "http://", 7) == 0) @@ -622,7 +622,7 @@ send_spa_packet(fko_ctx_t ctx, fko_cli_options_t *options) int res, sd_len; char *spa_data; struct sockaddr_in saddr, daddr; - char ip_str[INET_ADDRSTRLEN] = {0}; /* String used to contain the ip addres of an hostname */ + char ip_str[INET_ADDRSTRLEN] = {0}; /* String used to contain the ip address of an hostname */ struct addrinfo hints; /* Structure used to set hints to resolve hostname */ #ifdef WIN32 WSADATA wsa_data; diff --git a/client/utils.c b/client/utils.c index dc347b10..718f0b6d 100644 --- a/client/utils.c +++ b/client/utils.c @@ -155,7 +155,7 @@ get_in_addr(struct sockaddr *sa) * @param ip_bufsize Number of bytes available in the ip_str buffer * @param opts Client command line options * - * @return 0 if successful, 1 if an error occured. + * @return 0 if successful, 1 if an error occurred. */ int resolve_dst_addr(const char *dns_str, struct addrinfo *hints, diff --git a/common/fko_util.c b/common/fko_util.c index 4da49b60..4edfa389 100644 --- a/common/fko_util.c +++ b/common/fko_util.c @@ -526,7 +526,7 @@ int zero_free(char *buf, int len) } /* zero out sensitive information in a way that isn't optimized out by the compiler - * since we force a comparision and return an error if there is a problem (though + * since we force a comparison and return an error if there is a problem (though * the caller should do something with this information too). */ int @@ -585,7 +585,7 @@ char * written is set to 0. This way the user knows exactly how many bytes * can be appended afterwards. * - * @param buf Buffer to write the formated message to + * @param buf Buffer to write the formatted message to * @param buf_size Maximum number of bytes to write to the buffer * @param msg Message to format and to append to the buffer * @@ -605,7 +605,7 @@ append_msg_to_buf(char *buf, size_t buf_size, const char* msg, ...) /* Format the message like a printf message */ bytes_written = vsnprintf(buf, buf_size, msg, ap); - /* It looks like the message has been truncated or an error occured*/ + /* It looks like the message has been truncated or an error occurred*/ if (bytes_written < 0) bytes_written = 0; @@ -996,7 +996,7 @@ get_in_addr(struct sockaddr *sa) * @param ip_bufsize Number of bytes available in the ip_str buffer * @param opts Client command line options * - * @return 0 if successful, 1 if an error occured. + * @return 0 if successful, 1 if an error occurred. */ int ipv4_resolve(const char *dns_str, char *ip_str) diff --git a/common/fko_util.h b/common/fko_util.h index 43474697..9db3b25c 100644 --- a/common/fko_util.h +++ b/common/fko_util.h @@ -64,7 +64,7 @@ void chop_spaces(char *str); /** * - * \brief counts the occurences of a character + * \brief counts the occurrences of a character * * \return returns the number of chars found */ diff --git a/doc/README b/doc/README index d972ab55..26358cb0 100644 --- a/doc/README +++ b/doc/README @@ -4,7 +4,7 @@ Until we decide on a better way, the man pages for 'fwknop' (client) and 'fwknopd' (server) are generated from the asciidoc sources in this directory, then copied to their respective directories before check-in. -We use the "a2x" command to generate the inital nroff-formated version, +We use the "a2x" command to generate the initial nroff-formated version, which is then manually edited to clean it up a bit. The "a2x" command is: a2x -f manpage fwknopd.man.asciidoc @@ -13,7 +13,7 @@ This creates the "fwknopd.8" man page. However, depending on the a2x and.or asciidoc configuration on your system, you may have to edit the "fwknopd.8" file directly to remove the "[FIXME: source/manual]" string embedded within. At present, we simply remove them. There may also be places where you want -items on succesive line without intervening lines (i.e. the AUTHORS section +items on successive line without intervening lines (i.e. the AUTHORS section of the generated man page). In those cases, simply change the ".sp" between those lines to ".br". diff --git a/doc/libfko.texi b/doc/libfko.texi index 534a38a1..56e86cfc 100644 --- a/doc/libfko.texi +++ b/doc/libfko.texi @@ -449,7 +449,7 @@ server. The timeout value is provided via the @code{client_timeout} data field. @item FKO_LOCAL_NAT_ACCESS_MSG -This is similar to the FKO_NAT_ACCESS request exept the @acronym{NAT} is +This is similar to the FKO_NAT_ACCESS request except the @acronym{NAT} is to the local to the server (i.e. a service listening on 127.0.0.1). @item FKO_CLIENT_TIMEOUT_LOCAL_NAT_ACCESS_MSG @@ -1213,7 +1213,7 @@ will be NULL if the context value was not previously set. This section describes the functions not covered elsewhere in this manual. These are utility functions that operate on the data in the fko context. All but @code{fko_spa_data_final} are called by other functions -and are not normally explictly called by the user. However, they can +and are not normally explicitly called by the user. However, they can be, so they are listed here. All of these functions return an integer representing the return status of @@ -1289,7 +1289,7 @@ for the given error code. @deftypefun {const char *} fko_errstr (int @var{err_code}) The function @code{fko_errstr} returns a pointer to a statically -allocated string containing the descripton of the error. +allocated string containing the description of the error. @end deftypefun @noindent @@ -1599,7 +1599,7 @@ using the following function: @deftypefun {const char *} fko_gpg_errstr (int @var{err_code}) The function @code{fko_errstr} returns a pointer to a statically -allocated string containing the descripton of the @acronym{GPGME} error. +allocated string containing the description of the @acronym{GPGME} error. @end deftypefun @noindent diff --git a/extras/openwrt/README.openwrt b/extras/openwrt/README.openwrt index 28fd51d5..8478c862 100644 --- a/extras/openwrt/README.openwrt +++ b/extras/openwrt/README.openwrt @@ -2,8 +2,8 @@ This directory holds files and subdirectories related to fwknop and the OpenWRT platform. The "package" directory contains the individual OpenWRT package directories. -Each of these package directories hold the Makefile and addtional patch or -file directories used by teh OpenWRT build sytem. +Each of these package directories hold the Makefile and additional patch or +file directories used by the OpenWRT build system. At present, the packages we include are "fwknop" and "gpgpme". The gpgme package is include because it does not appear to be available on any of diff --git a/iphone/Classes/libfwknop/fko_common.b b/iphone/Classes/libfwknop/fko_common.b index 280d53eb..8e389c42 100644 --- a/iphone/Classes/libfwknop/fko_common.b +++ b/iphone/Classes/libfwknop/fko_common.b @@ -78,7 +78,7 @@ typedef u_int32_t uint32_t; #endif #endif -/* Work out endianess (sp?) +/* Work out endianness */ #if HAVE_ENDIAN_H /* Should cover most Linux systems */ #include diff --git a/lib/fko.h b/lib/fko.h index 7cf56284..432b10d1 100644 --- a/lib/fko.h +++ b/lib/fko.h @@ -672,7 +672,7 @@ DLL_API int fko_set_spa_hmac_type(fko_ctx_t ctx, const short hmac_type); * \brief Return error in string form * * The function 'fko_errstr' returns a pointer to a statically - * allocated string containing the descripton of the error. + * allocated string containing the description of the error. * * \param err_code The error code to convert * @@ -1297,7 +1297,7 @@ DLL_API int fko_set_gpg_ignore_verify_error(fko_ctx_t ctx, * ignore_verify_error flag value associated with the current context. * * \param ctx The FKO context to access - * \param val Pointer where teh flag value will be set + * \param val Pointer where the flag value will be set * * \return FKO_SUCCESS if successful, returns an error code otherwise */ diff --git a/lib/fko_common.h b/lib/fko_common.h index 4cb6aa86..d7cbbb34 100644 --- a/lib/fko_common.h +++ b/lib/fko_common.h @@ -89,7 +89,7 @@ #endif #endif -/* Work out endianess (sp?) +/* Work out endianness */ #if HAVE_ENDIAN_H /* Should cover most Linux systems */ #include diff --git a/lib/fko_context.h b/lib/fko_context.h index 09af71b1..806a7874 100644 --- a/lib/fko_context.h +++ b/lib/fko_context.h @@ -1,7 +1,7 @@ /** * \file lib/fko_context.h * - * \brief fko context definiton. + * \brief fko context definition. */ /* @@ -43,7 +43,7 @@ * * \struct fko_gpg_sig * - * \brief Stucture to hold a list of the gpg signature information we are interested in. + * \brief Structure to hold a list of the gpg signature information we are interested in. */ struct fko_gpg_sig { struct fko_gpg_sig *next; /**< link to next member */ diff --git a/lib/fko_digest.c b/lib/fko_digest.c index 05d9ded2..7994a9d1 100644 --- a/lib/fko_digest.c +++ b/lib/fko_digest.c @@ -216,7 +216,7 @@ set_digest(char *data, char **digest, short digest_type, int *digest_len) return(FKO_ERROR_INVALID_DIGEST_TYPE); } - /* Just in case this is a subsquent call to this function. We + /* Just in case this is a subsequent call to this function. We * do not want to be leaking memory. */ if(*digest != NULL) diff --git a/lib/fko_message.c b/lib/fko_message.c index b89e755c..175e4e4f 100644 --- a/lib/fko_message.c +++ b/lib/fko_message.c @@ -193,7 +193,7 @@ fko_set_spa_message(fko_ctx_t ctx, const char * const msg) if(res != FKO_SUCCESS) return(res); - /* Just in case this is a subsquent call to this function. We + /* Just in case this is a subsequent call to this function. We * do not want to be leaking memory. */ if(ctx->message != NULL) diff --git a/lib/fko_nat_access.c b/lib/fko_nat_access.c index 4fb11832..1a75ae52 100644 --- a/lib/fko_nat_access.c +++ b/lib/fko_nat_access.c @@ -68,7 +68,7 @@ fko_set_spa_nat_access(fko_ctx_t ctx, const char * const msg) if((res = validate_nat_access_msg(msg)) != FKO_SUCCESS) return(res); - /* Just in case this is a subsquent call to this function. We + /* Just in case this is a subsequent call to this function. We * do not want to be leaking memory. */ if(ctx->nat_access != NULL) diff --git a/lib/fko_server_auth.c b/lib/fko_server_auth.c index 2d4cab3b..d4d8c6e9 100644 --- a/lib/fko_server_auth.c +++ b/lib/fko_server_auth.c @@ -68,7 +68,7 @@ fko_set_spa_server_auth(fko_ctx_t ctx, const char * const msg) /**/ - /* Just in case this is a subsquent call to this function. We + /* Just in case this is a subsequent call to this function. We * do not want to be leaking memory. */ if(ctx->server_auth != NULL) diff --git a/lib/fko_state.h b/lib/fko_state.h index 58689197..062b7112 100644 --- a/lib/fko_state.h +++ b/lib/fko_state.h @@ -79,7 +79,7 @@ typedef enum { #define FKO_IS_SPA_DATA_MODIFIED(ctx) (ctx->state & FKO_SPA_DATA_MODIFIED) /* Clear all SPA data modified flags. This is normally called after a - * succesful encode/digest/encryption cycle. + * successful encode/digest/encryption cycle. */ #define FKO_CLEAR_SPA_DATA_MODIFIED(ctx) \ (ctx->state &= (0xffff & ~FKO_SPA_DATA_MODIFIED)) diff --git a/lib/fko_user.c b/lib/fko_user.c index f2255f41..1ca1dec3 100644 --- a/lib/fko_user.c +++ b/lib/fko_user.c @@ -53,7 +53,7 @@ fko_set_username(fko_ctx_t ctx, const char * const spoof_user) if(!CTX_INITIALIZED(ctx)) return FKO_ERROR_CTX_NOT_INITIALIZED; - /* If spoof_user was not passed in, check for a SPOOF_USER enviroment + /* If spoof_user was not passed in, check for a SPOOF_USER environment * variable. If it is set, use its value. */ if(spoof_user != NULL && spoof_user[0] != '\0') @@ -115,7 +115,7 @@ fko_set_username(fko_ctx_t ctx, const char * const spoof_user) return res; } - /* Just in case this is a subsquent call to this function. We + /* Just in case this is a subsequent call to this function. We * do not want to be leaking memory. */ if(ctx->username != NULL) diff --git a/lib/sha2.c b/lib/sha2.c index fde707c7..a00dfa57 100644 --- a/lib/sha2.c +++ b/lib/sha2.c @@ -72,7 +72,7 @@ * Please make sure that your system defines BYTE_ORDER. If your * architecture is little-endian, make sure it also defines * LITTLE_ENDIAN and that the two (BYTE_ORDER and LITTLE_ENDIAN) are - * equivilent. + * equivalent. * * If your system does not define the above, then you can do so by * hand like this: diff --git a/perl/FKO/lib/FKO.pm b/perl/FKO/lib/FKO.pm index cbbfecc4..6e79d71d 100644 --- a/perl/FKO/lib/FKO.pm +++ b/perl/FKO/lib/FKO.pm @@ -869,7 +869,7 @@ server. The timeout value is provided via the C data field. =item * B -This is similar to the C request exept the NAT is to the +This is similar to the C request except the NAT is to the local to the server (i.e. a service listening on 127.0.0.1). =item * B diff --git a/perl/legacy/fwknop/ChangeLog b/perl/legacy/fwknop/ChangeLog index 84833990..9644ed4d 100644 --- a/perl/legacy/fwknop/ChangeLog +++ b/perl/legacy/fwknop/ChangeLog @@ -1017,7 +1017,7 @@ fwknop-0.9.6 (01/13/2006): adds a "-K " argument to the SSH client so that fwknop can be executed directly before an SSH connection is made. - Separated server and client portions of fwknop into "fwknopd" and - fwknop repectively. This will allow better portability to be + fwknop respectively. This will allow better portability to be developed since the client and server pieces can be developed more independently. NOTE: With so many changes, it is probably a good idea to not preserve old fwknop configs via install.pl. @@ -1093,7 +1093,7 @@ fwknop-0.9.1 (07/29/2005): server with the --Access command line option. - Added the ability to spoof SPA packets over icmp and tcp protocols. - Added the ability to restrict access at the server to only those - ports defined in the OPEN_PORTS keyword. This option is controled by + ports defined in the OPEN_PORTS keyword. This option is controlled by a new keyword "PERMIT_CLIENT_PORTS". - Bugfix for MD5 sum not being properly calculated over decrypted data. This allowed old packets that contained additional garbage data to diff --git a/perl/legacy/fwknop/deps/Class-MethodMaker/Changes b/perl/legacy/fwknop/deps/Class-MethodMaker/Changes index 24c3c6a1..8ac77898 100644 --- a/perl/legacy/fwknop/deps/Class-MethodMaker/Changes +++ b/perl/legacy/fwknop/deps/Class-MethodMaker/Changes @@ -47,19 +47,19 @@ Revision History for Class::MethodMaker (versions 2) - Flatten list passed to * in v1 list - Fix buglet in object that called default_ctor method even when an explicit value was supplied - - Add compatiblity support for boolean + - Add compatibility support for boolean - Lots of documentation improvements - Add html target to Makefile.PL - Add implementation of _clear by default - Add *_clear to array - Add support for 5.6.x - Add new -singleton - - Add compatiblity support for singleton - - Add compatiblity support for get_concat + - Add compatibility support for singleton + - Add compatibility support for get_concat - Add basic support for INTEGER type - - Add compatiblity support for get_counter + - Add compatibility support for get_counter - Bug fixes to read callback - - Add compatiblity support for key_{attrib,with_create} + - Add compatibility support for key_{attrib,with_create} 2.00a09 Sep 18 11:04 AM GMT 2003 - Add tie_scalar, static_hash, tie_hash for V1 diff --git a/perl/legacy/fwknop/deps/Class-MethodMaker/components/scalar.m b/perl/legacy/fwknop/deps/Class-MethodMaker/components/scalar.m index f2b62390..99c29826 100644 --- a/perl/legacy/fwknop/deps/Class-MethodMaker/components/scalar.m +++ b/perl/legacy/fwknop/deps/Class-MethodMaker/components/scalar.m @@ -318,7 +318,7 @@ no argument provided). Returns no value. return; }, - # this is here for V1 compatiblity only + # this is here for V1 compatibility only '!*_find' => sub : method { my ($self, @args) = @_; if (scalar @args) { diff --git a/perl/legacy/fwknop/deps/Class-MethodMaker/lib/Class/MethodMaker/Engine.pm b/perl/legacy/fwknop/deps/Class-MethodMaker/lib/Class/MethodMaker/Engine.pm index 1fc70053..834280e4 100644 --- a/perl/legacy/fwknop/deps/Class-MethodMaker/lib/Class/MethodMaker/Engine.pm +++ b/perl/legacy/fwknop/deps/Class-MethodMaker/lib/Class/MethodMaker/Engine.pm @@ -890,7 +890,7 @@ Constructing with new1 involves an implicit call to C, whilst constructing with new2 involves an implicit call to C (I of C). -It is the responsiblity of the user to ensure that an C method (or +It is the responsibility of the user to ensure that an C method (or whatever name) is defined. =item -singleton @@ -1072,7 +1072,7 @@ sub copy { # ---------------------------------------------------------------------------- -# This supplied for V1 compatiblity only +# This supplied for V1 compatibility only my (%BooleanPos, %BooleanFields); diff --git a/perl/legacy/fwknop/deps/Class-MethodMaker/lib/Class/MethodMaker/V1Compat.pm b/perl/legacy/fwknop/deps/Class-MethodMaker/lib/Class/MethodMaker/V1Compat.pm index a2d061e3..bc86d3af 100644 --- a/perl/legacy/fwknop/deps/Class-MethodMaker/lib/Class/MethodMaker/V1Compat.pm +++ b/perl/legacy/fwknop/deps/Class-MethodMaker/lib/Class/MethodMaker/V1Compat.pm @@ -49,7 +49,7 @@ possible: =item boolean -Boolean is available as a backwards compatiblity hack, but there is currently +Boolean is available as a backwards compatibility hack, but there is currently no V2 equivalent. It is likely that some replacement mechanism will be introduced in the future, but that it will be incompatible with the version 1 boolean. diff --git a/perl/legacy/fwknop/deps/Class-MethodMaker/t/array.t b/perl/legacy/fwknop/deps/Class-MethodMaker/t/array.t index c616e081..0999fd6e 100644 --- a/perl/legacy/fwknop/deps/Class-MethodMaker/t/array.t +++ b/perl/legacy/fwknop/deps/Class-MethodMaker/t/array.t @@ -596,7 +596,7 @@ ok evcheck(sub { $y = bless {}, 'X'; }, 'bless ( 2)'), 1, 'bless ( 2)'; ok(evcheck(sub { $n = $x->df2_index(1)->value; }, 'default_ctor( 4)'), 1, 'default_ctor ( 4)'); ok $n, 1, 'default_ctor ( 5)'; - # This actually creates two Y instances; one explictly, and one not implictly + # This actually creates two Y instances; one explicitly, and one not implictly # by the _index method defaulting one (since it can't see the incoming) # XXX not anymore XXX # lvalue support has been dropped (I can't find a consistent way to support @@ -977,7 +977,7 @@ Check that calling a(), with no arguments, doesn't instantiate a new instance =head2 Tests 419--425: non-init ctor This is to test that the default ctor or default is not assigned if a value is -supplied. This would particularly be a problem with v1 compatiblity use where +supplied. This would particularly be a problem with v1 compatibility use where a value is explcitly supplied to prevent 'new' being called because there is no 'new' (if the ctor is called anyway, the program barfs). @@ -1049,7 +1049,7 @@ no 'new' (if the ctor is called anyway, the program barfs). ok $n, 3, 'default_ctor (arg) ( 5)'; print STDERR Data::Dumper->Dump([$x], [qw($x)]) if $ENV{TEST_DEBUG}; - # This actually creates two Y instances; one explictly, and one not implictly + # This actually creates two Y instances; one explicitly, and one not implictly # by the _index method defaulting one (since it can't see the incoming) # XXX not anymore XXX # lvalue support has been dropped (I can't find a consistent way to support diff --git a/perl/legacy/fwknop/deps/Class-MethodMaker/t/hash.t b/perl/legacy/fwknop/deps/Class-MethodMaker/t/hash.t index 59e17757..a47448b6 100644 --- a/perl/legacy/fwknop/deps/Class-MethodMaker/t/hash.t +++ b/perl/legacy/fwknop/deps/Class-MethodMaker/t/hash.t @@ -634,7 +634,7 @@ ok evcheck(sub { $y = bless {}, 'X'; }, 'bless ( 2)'), 1, 'bless ( 2)'; ok(evcheck(sub { $n = $x->df2_index(1)->value; }, 'default_ctor( 4)'), 1, 'default_ctor ( 4)'); ok $n, 1, 'default_ctor ( 5)'; - # This actually creates two Y instances; one explictly, and one not implictly + # This actually creates two Y instances; one explicitly, and one not implictly # by the _index method defaulting one (since it can't see the incoming) # XXX not anymore XXX # lvalue support has been dropped (I can't find a consistent way to support @@ -1009,7 +1009,7 @@ Check that calling a(), with no arguments, doesn't instantiate a new instance ok(evcheck(sub { $n = $x->dfx_index(1)->value; }, 'default_ctor (arg)( 4)'), 1, 'default_ctor (arg) ( 4)'); ok $n, 3, 'default_ctor (arg) ( 5)'; - # This actually creates two Y instances; one explictly, and one not implictly + # This actually creates two Y instances; one explicitly, and one not implictly # by the _index method defaulting one (since it can't see the incoming) # XXX not anymore XXX # lvalue support has been dropped (I can't find a consistent way to support diff --git a/perl/legacy/fwknop/deps/Class-MethodMaker/t/scalar.t b/perl/legacy/fwknop/deps/Class-MethodMaker/t/scalar.t index af434eed..c54a4ae4 100644 --- a/perl/legacy/fwknop/deps/Class-MethodMaker/t/scalar.t +++ b/perl/legacy/fwknop/deps/Class-MethodMaker/t/scalar.t @@ -870,7 +870,7 @@ TEST_275: { =head2 Tests 295--301: non-init ctor This is to test that the default ctor or default is not assigned if a value is -supplied. This would particularly be a problem with v1 compatiblity use where +supplied. This would particularly be a problem with v1 compatibility use where a value is explcitly supplied to prevent 'new' being called because there is no 'new' (if the ctor is called anyway, the program barfs). diff --git a/perl/legacy/fwknop/deps/GnuPG-Interface/ChangeLog b/perl/legacy/fwknop/deps/GnuPG-Interface/ChangeLog index 768e9579..f6a9eb16 100644 --- a/perl/legacy/fwknop/deps/GnuPG-Interface/ChangeLog +++ b/perl/legacy/fwknop/deps/GnuPG-Interface/ChangeLog @@ -321,7 +321,7 @@ 2000-07-12 04:10 ftobin * lib/GnuPG/Interface.pm, test/trustdb.gpg: whoops, I really do - need to explictly dup, as well as compensate when it's an + need to explicitly dup, as well as compensate when it's an already-opened filehandle. Maybe I'll change the name to direct instead of dup. diff --git a/perl/legacy/fwknop/deps/GnuPG-Interface/NEWS b/perl/legacy/fwknop/deps/GnuPG-Interface/NEWS index a42e020a..5870d34d 100644 --- a/perl/legacy/fwknop/deps/GnuPG-Interface/NEWS +++ b/perl/legacy/fwknop/deps/GnuPG-Interface/NEWS @@ -124,7 +124,7 @@ Noteworthy changes in 0.08 * Changes so that testing on recent development versions of GnuPG (namely 1.0.1e) works, or notably says - that the error is occuring because of GnuPG version + that the error is occurring because of GnuPG version differences. diff --git a/perl/legacy/fwknop/deps/GnuPG-Interface/lib/GnuPG/Interface.pm b/perl/legacy/fwknop/deps/GnuPG-Interface/lib/GnuPG/Interface.pm index c4afcaae..f76b22f1 100644 --- a/perl/legacy/fwknop/deps/GnuPG-Interface/lib/GnuPG/Interface.pm +++ b/perl/legacy/fwknop/deps/GnuPG-Interface/lib/GnuPG/Interface.pm @@ -729,7 +729,7 @@ sub test_default_key_passphrase() # restore this setting to its original setting $self->options->meta_interactive( $saved_meta_interactive_option ); - # all we realy want to check is the status fh + # all we really want to check is the status fh while ( <$status> ) { if ( /^\[GNUPG:\]\s*GOOD_PASSPHRASE/ ) diff --git a/perl/legacy/fwknop/deps/Net-IPv4Addr/debian/rules b/perl/legacy/fwknop/deps/Net-IPv4Addr/debian/rules index 1471a2af..ca5b6b01 100644 --- a/perl/legacy/fwknop/deps/Net-IPv4Addr/debian/rules +++ b/perl/legacy/fwknop/deps/Net-IPv4Addr/debian/rules @@ -7,7 +7,7 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -# This is the debhelper compatability version to use. +# This is the debhelper compatibility version to use. export DH_COMPAT=1 ifndef PERL diff --git a/perl/legacy/fwknop/deps/Net-Pcap/Pcap.pm b/perl/legacy/fwknop/deps/Net-Pcap/Pcap.pm index f979ac83..844693ab 100644 --- a/perl/legacy/fwknop/deps/Net-Pcap/Pcap.pm +++ b/perl/legacy/fwknop/deps/Net-Pcap/Pcap.pm @@ -216,8 +216,8 @@ B. =item B -This function returns true if the endianess of the currently open -savefile is different from the endianess of the machine. +This function returns true if the endianness of the currently open +savefile is different from the endianness of the machine. =item B diff --git a/perl/legacy/fwknop/deps/Net-RawIP/Changes b/perl/legacy/fwknop/deps/Net-RawIP/Changes index a6889e67..bf4a741f 100644 --- a/perl/legacy/fwknop/deps/Net-RawIP/Changes +++ b/perl/legacy/fwknop/deps/Net-RawIP/Changes @@ -146,7 +146,7 @@ Revision history for Perl extension Net::RawIP. - has been added README.DEV - readme for the developers. 0.04e Tue Feb 2 13:46:37 1999 - - have been added some defines in the util.c for compability + - have been added some defines in the util.c for compatibility with an old libpcap. Thanks to Seth 0.04d Tue Feb 2 10:26:54 1999 @@ -212,10 +212,10 @@ Revision history for Perl extension Net::RawIP. - insert usleep(20000); for sendto() on FreeBSD 0.03a Thu Dec 24 10:01:15 1998 - - minimize files for includes for system compability + - minimize files for includes for system compatibility - Set switch $^W to FALSE for suppress warning messages Thu Dec 24 18:59:42 1998 - - added some compability with other systems + - added some compatibility with other systems 0.02 Wed Dec 23 17:59:30 1998 - some man fixes diff --git a/perl/legacy/fwknop/deps/Net-RawIP/examples/macof b/perl/legacy/fwknop/deps/Net-RawIP/examples/macof index c1f3ba48..e207422d 100755 --- a/perl/legacy/fwknop/deps/Net-RawIP/examples/macof +++ b/perl/legacy/fwknop/deps/Net-RawIP/examples/macof @@ -14,7 +14,7 @@ # Warning: This program could cause problems on your network. # This program could hang, crash or reboot network devices. # Switches could start sending packages to all ports making it -# possible to intercept network trafic. +# possible to intercept network traffic. # # require 'getopts.pl'; diff --git a/perl/legacy/fwknop/deps/Net-RawIP/lib/Net/RawIP.pm b/perl/legacy/fwknop/deps/Net-RawIP/lib/Net/RawIP.pm index bdf901ee..5a7e5be1 100644 --- a/perl/legacy/fwknop/deps/Net-RawIP/lib/Net/RawIP.pm +++ b/perl/legacy/fwknop/deps/Net-RawIP/lib/Net/RawIP.pm @@ -1021,7 +1021,7 @@ The given parameters must look like a parameters for the B. =item send_eth_frame($frame,$times,$delay) is a method for send any ethernet frame which you may construct by -hands.B<$frame> is a packed ethernet frame exept destination and +hands.B<$frame> is a packed ethernet frame except destination and source fields(these fields can be setting by B or B). Another parameters must look like the parameters for the B. @@ -1037,7 +1037,7 @@ the B also is an array reference. This array must be filled with strings which must contain all bytes from a option except bytes with type and length of an option.Of course indexes in those arrays must be equal for the one option.If type is equal to 0 or 1 then there is no bytes -with a length and a data,but you have to specify zero data for compability. +with a length and a data,but you have to specify zero data for compatibility. =item B(OPTPROTO => { type => [...] },...) diff --git a/perl/legacy/fwknop/deps/TermReadKey/Configure.pm b/perl/legacy/fwknop/deps/TermReadKey/Configure.pm index 120103ae..af4f194d 100644 --- a/perl/legacy/fwknop/deps/TermReadKey/Configure.pm +++ b/perl/legacy/fwknop/deps/TermReadKey/Configure.pm @@ -513,7 +513,7 @@ properly will be returned. B will be returned if nothing succeeds. =cut -sub CheckStructure { # Check existance of a structure. +sub CheckStructure { # Check existence of a structure. my($structname,@headers) = @_; ApplyHeaders("main(){ struct $structname s;}",@headers); } @@ -527,7 +527,7 @@ be returned if nothing succeeds. =cut -sub CheckField { # Check for the existance of specified field in structure +sub CheckField { # Check for the existence of specified field in structure my($structname,$fieldname,@headers) = @_; ApplyHeaders("main(){ struct $structname s1; struct $structname s2; s1.$fieldname = s2.$fieldname; }",@headers); @@ -578,7 +578,7 @@ sub CheckHSymbol { # Check for header symbol An experimental routine that takes a name of a function, a nested array consisting of the prototype, and then the normal header groups. It attempts to deduce whether the given prototype matches what the header supplies. -Basically, it doesn't work. Or maybe it does. I wouldn't reccomend it, +Basically, it doesn't work. Or maybe it does. I wouldn't recommend it, though. =cut @@ -812,7 +812,7 @@ sub DeducePrototype { my @args = (); my @validcount = (); - # Can we check the return type without worry about arguements? + # Can we check the return type without worry about arguments? if($checkreturn and (!$checknilargs or !$checkniletcargs)) { for (@types) { if(ApplyHeaders("extern $_ $function(". ($checknilargs?"...":"").");main(){}",[@headers])) { diff --git a/perl/legacy/fwknop/deps/TermReadKey/README b/perl/legacy/fwknop/deps/TermReadKey/README index 92c52617..c82815bd 100644 --- a/perl/legacy/fwknop/deps/TermReadKey/README +++ b/perl/legacy/fwknop/deps/TermReadKey/README @@ -51,7 +51,7 @@ character is waiting, please call it with -1, instead of 1. Positive arguments now indicate a timeout, so 1 would wait a second before timing out. -As older versions will accept -1, it is reccomended to change all code +As older versions will accept -1, it is recommended to change all code that uses ReadMode. @@ -88,7 +88,7 @@ actually a good idea.) Non-blocking support is provided via the ReadKey and ReadLine functions. If they are passed no argument, or an argument of zero, they will act like a normal getc(STDIN) or scalar(). If they are passed a negative -argument, then they will immediatly return undef if no input is present. If +argument, then they will immediately return undef if no input is present. If passed a positive argument, then they will wait until that time in seconds has passed before returning undef. In most situations, you will probably want to use "ReadKey -1". diff --git a/perl/legacy/fwknop/deps/TermReadKey/ReadKey.pm b/perl/legacy/fwknop/deps/TermReadKey/ReadKey.pm index 472d1435..c0b07906 100644 --- a/perl/legacy/fwknop/deps/TermReadKey/ReadKey.pm +++ b/perl/legacy/fwknop/deps/TermReadKey/ReadKey.pm @@ -23,7 +23,7 @@ control over terminal driver modes (cbreak, raw, cooked, etc.,) support for non-blocking reads, if the architecture allows, and some generalized handy functions for working with terminals. One of the main goals is to have the functions as portable as possible, so you can just plug in "use -Term::ReadKey" on any architecture and have a good likelyhood of it working. +Term::ReadKey" on any architecture and have a good likelihood of it working. =over 8 diff --git a/perl/legacy/fwknop/deps/TermReadKey/ppport.h b/perl/legacy/fwknop/deps/TermReadKey/ppport.h index 04f74adc..e4ffface 100644 --- a/perl/legacy/fwknop/deps/TermReadKey/ppport.h +++ b/perl/legacy/fwknop/deps/TermReadKey/ppport.h @@ -33,7 +33,7 @@ * 5. Any other information that you think could be relevant. * * - * For the latest version of this code, please retreive the Devel::PPPort + * For the latest version of this code, please retrieve the Devel::PPPort * module from CPAN. * */ diff --git a/perl/legacy/fwknop/deps/TermReadKey/test.pl b/perl/legacy/fwknop/deps/TermReadKey/test.pl index 359e75ba..5cb246ac 100644 --- a/perl/legacy/fwknop/deps/TermReadKey/test.pl +++ b/perl/legacy/fwknop/deps/TermReadKey/test.pl @@ -125,7 +125,7 @@ eval { elsif ( &Term::ReadKey::termoptions() == 4 ) { $response = -"Term::ReadKey is trying to make do with stty; facilites may be limited.\n"; +"Term::ReadKey is trying to make do with stty; facilities may be limited.\n"; } elsif ( &Term::ReadKey::termoptions() == 5 ) { diff --git a/perl/legacy/fwknop/deps/Unix-Syslog/test.pl b/perl/legacy/fwknop/deps/Unix-Syslog/test.pl index 75a52a13..7e5d34ce 100644 --- a/perl/legacy/fwknop/deps/Unix-Syslog/test.pl +++ b/perl/legacy/fwknop/deps/Unix-Syslog/test.pl @@ -190,5 +190,5 @@ closelog; print "Testing pointer handling in closelog().\n"; print "Calling closelog() a second time.\n"; closelog; -print "This message should not be preceeded by an error message\n"; +print "This message should not be preceded by an error message\n"; print " about dereferenced pointers.\n\n"; diff --git a/perl/legacy/fwknop/fwknop.8 b/perl/legacy/fwknop/fwknop.8 index 972d5451..44f3b5a0 100644 --- a/perl/legacy/fwknop/fwknop.8 +++ b/perl/legacy/fwknop/fwknop.8 @@ -480,7 +480,7 @@ and an optional port number is supported with the format. .TP .BR \-\^\-HTTP-user-agent\ \ -Specify the HTTP user-agent whenver the +Specify the HTTP user-agent whenever the .B fwknop client is used to send an SPA packet over an HTTP request, or when the .I \-\-Resolve-external-IP diff --git a/perl/legacy/fwknop/fwknop.conf b/perl/legacy/fwknop/fwknop.conf index 7f773aa6..ea7a71d6 100644 --- a/perl/legacy/fwknop/fwknop.conf +++ b/perl/legacy/fwknop/fwknop.conf @@ -320,7 +320,7 @@ IPT_EXEC_SLEEP 0; IPT_EXEC_TRIES 1; ### The following four variables control whether a global set of "open" and -### "close" commands are executed after receving a valid SPA packet. These +### "close" commands are executed after receiving a valid SPA packet. These ### variables are used only if FIREWALL_TYPE is set to "external_cmd", but ### the same variables can also exist within the access.conf file so that ### mixed deployments are possible - that is, some SPA packets will operate diff --git a/perl/legacy/fwknop/fwknopd b/perl/legacy/fwknop/fwknopd index c37fc694..076cf619 100755 --- a/perl/legacy/fwknop/fwknopd +++ b/perl/legacy/fwknop/fwknopd @@ -4210,7 +4210,7 @@ sub parse_tcp_options() { if ($len == 0 or $len == 1) { ### this should never happen; it indicates a broken TCP stack ### or maliciously constructed options since the len field is - ### large enough to accomodate the TLV encoding + ### large enough to accommodate the TLV encoding my $msg = "broken $len-byte len field within TCP options " . "string: $tcp_options from source IP: $src"; print STDERR " $msg\n" if $debug; diff --git a/perl/legacy/fwknop/install.pl b/perl/legacy/fwknop/install.pl index c8b1b4ac..b0acf10f 100755 --- a/perl/legacy/fwknop/install.pl +++ b/perl/legacy/fwknop/install.pl @@ -286,7 +286,7 @@ if ($os_type == $OS_LINUX) { $distro = &get_linux_distro(); if ($distro eq 'redhat' or $distro eq 'fedora') { - ### add chkconfig only if we are runing on a redhat distro + ### add chkconfig only if we are running on a redhat distro $cmds{'chkconfig'} = $chkconfigCmd; } elsif ($distro eq 'gentoo') { ### add rc-update if we are running on a gentoo distro diff --git a/python/fko.py b/python/fko.py index 505583e4..22c32993 100644 --- a/python/fko.py +++ b/python/fko.py @@ -438,7 +438,7 @@ class Fko: "client_timeout" data field. FKO_LOCAL_NAT_ACCESS_MSG - This is similar to the "FKO_NAT_ACCESS" request exept the NAT + This is similar to the "FKO_NAT_ACCESS" request except the NAT is to the local to the server (i.e. a service listening on 127.0.0.1). diff --git a/server/fw_util_ipfw.c b/server/fw_util_ipfw.c index c17a9aa5..e065383b 100644 --- a/server/fw_util_ipfw.c +++ b/server/fw_util_ipfw.c @@ -513,7 +513,7 @@ process_spa_request(const fko_srv_options_t * const opts, */ rule_num = get_next_rule_num(); - /* If rule_num comes back as 0, we aready have the maximum number + /* If rule_num comes back as 0, we already have the maximum number * of active rules allowed so we reject and bail here. */ if(rule_num == 0) diff --git a/server/incoming_spa.c b/server/incoming_spa.c index c8c00015..a5c952bd 100644 --- a/server/incoming_spa.c +++ b/server/incoming_spa.c @@ -717,7 +717,7 @@ handle_gpg_sigs(acc_stanza_t *acc, spa_data_t *spadat, if(*res != FKO_SUCCESS) { log_msg(LOG_WARNING, - "[%s] (stanza #%d) Error in GPG signature comparision: %s", + "[%s] (stanza #%d) Error in GPG signature comparison: %s", spadat->pkt_source_ip, stanza_num, fko_gpg_errstr(*ctx)); return 0; } @@ -744,7 +744,7 @@ handle_gpg_sigs(acc_stanza_t *acc, spa_data_t *spadat, if(*res != FKO_SUCCESS) { log_msg(LOG_WARNING, - "[%s] (stanza #%d) Error in GPG signature comparision: %s", + "[%s] (stanza #%d) Error in GPG signature comparison: %s", spadat->pkt_source_ip, stanza_num, fko_gpg_errstr(*ctx)); return 0; } diff --git a/server/log_msg.c b/server/log_msg.c index 2dfc6c01..cf379ce8 100644 --- a/server/log_msg.c +++ b/server/log_msg.c @@ -150,8 +150,8 @@ init_logging(fko_srv_options_t *opts) { verbosity = LOG_DEFAULT_VERBOSITY + opts->verbose; } -/* Syslog message function. It uses default set at intialization, and also - * takes variable args to accomodate printf-like formatting and expansion. +/* Syslog message function. It uses default set at initialization, and also + * takes variable args to accommodate printf-like formatting and expansion. */ void log_msg(int level, char* msg, ...) diff --git a/test/fuzzing/patches/enable_perl_fko_bogus_packets.patch b/test/fuzzing/patches/enable_perl_fko_bogus_packets.patch index 8e76804b..9134d6b6 100644 --- a/test/fuzzing/patches/enable_perl_fko_bogus_packets.patch +++ b/test/fuzzing/patches/enable_perl_fko_bogus_packets.patch @@ -41,7 +41,7 @@ index 7d8237b..e627b0c 100644 +// if(res != FKO_SUCCESS) +// return(res); - /* Just in case this is a subsquent call to this function. We + /* Just in case this is a subsequent call to this function. We * do not want to be leaking memory. @@ -278,6 +278,8 @@ validate_nat_access_msg(const char *msg) int res = FKO_SUCCESS; @@ -78,7 +78,7 @@ index 03a7cad..47a0fe4 100644 +// if((res = validate_nat_access_msg(msg)) != FKO_SUCCESS) +// return(res); - /* Just in case this is a subsquent call to this function. We + /* Just in case this is a subsequent call to this function. We * do not want to be leaking memory. diff --git a/lib/fko_user.c b/lib/fko_user.c index 0c909dd..7f0f7eb 100644 @@ -100,5 +100,5 @@ index 0c909dd..7f0f7eb 100644 +// if((isalnum(username[i]) == 0) && username[i] != '-') +// return(FKO_ERROR_INVALID_DATA); - /* Just in case this is a subsquent call to this function. We + /* Just in case this is a subsequent call to this function. We * do not want to be leaking memory. diff --git a/test/test-fwknop.pl b/test/test-fwknop.pl index ddf5f18c..c7747197 100755 --- a/test/test-fwknop.pl +++ b/test/test-fwknop.pl @@ -811,7 +811,7 @@ our $default_server_gpg_args_no_pw_hmac = "$lib_view_str " . "-a $cf{'gpg_no_pw_hmac_access'} $intf_str " . "-d $default_digest_file -p $default_pid_file"; -### point the compiled binaries at the local libary path +### point the compiled binaries at the local library path ### instead of any installed libfko instance $ENV{'LD_LIBRARY_PATH'} = $lib_dir; $ENV{'DYLD_LIBRARY_PATH'} = $lib_dir if $lib_view_cmd =~ /otool/;