]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
add changes file and update check-typos in makefile
authorDeepesh Pathak <deepshpathak@gmail.com>
Sat, 14 Apr 2018 19:35:49 +0000 (01:05 +0530)
committerNick Mathewson <nickm@torproject.org>
Mon, 23 Apr 2018 00:48:48 +0000 (20:48 -0400)
ChangeLog
Makefile.am
changes/ticket25024 [new file with mode: 0644]
src/common/crypto_rsa.h
src/or/protover.c

index 98da35a0715b401f44ef6a8de563a072a51cd12c..e0468e4e822a3b88f738d2d4f237f9d2a00fccd8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -875,7 +875,7 @@ Changes in version 0.3.3.2-alpha - 2018-02-10
       would call the Rust implementation of
       protover_get_supported_protocols(). This was due to the C version
       returning a static string, whereas the Rust version newly allocated
-      a CString to pass accross the FFI boundary. Consequently, the C
+      a CString to pass across the FFI boundary. Consequently, the C
       code was not expecting to need to free() what it was given. Fixes
       bug 25127; bugfix on 0.3.2.1-alpha.
 
index b892c69f78ec0133207018446ba815a13cd19cfa..cccad6c5ed593643baa27bb7e7101f89689a46ae 100644 (file)
@@ -97,7 +97,7 @@ doxygen:
 test: all
        $(top_builddir)/src/test/test
 
-check-local: check-spaces check-changes check-typos
+check-local: check-spaces check-changes
 
 need-chutney-path:
        @if test ! -d "$$CHUTNEY_PATH"; then \
@@ -221,8 +221,8 @@ check-logs:
 check-typos:
        @if test -x "`which misspell 2>&1;true`"; then \
                echo "Checking for Typos ..."; \
-               (`which misspell` \
-                       $(top_srcdir)/src/**/*.[ch] \
+               (misspell \
+                       $(top_srcdir)/src/[^e]*/*.[ch] \
                        $(top_srcdir)/doc \
                        $(top_srcdir)/contrib \
                        $(top_srcdir)/scripts \
diff --git a/changes/ticket25024 b/changes/ticket25024
new file mode 100644 (file)
index 0000000..0ff22d0
--- /dev/null
@@ -0,0 +1,3 @@
+  o Minor features (code quality):
+    - Add spell checking using misspell in Makefile.
+      Closes ticket 25024.
index 2f5442a5d2f81d5db0cd7f28e7e396dc9df923f8..e952089318b2c3987607c428049c477a54bc4cc4 100644 (file)
@@ -35,7 +35,7 @@
 /** A public key, or a public/private key-pair. */
 typedef struct crypto_pk_t crypto_pk_t;
 
-/* RSA enviroment setup */
+/* RSA environment setup */
 MOCK_DECL(crypto_pk_t *,crypto_pk_new,(void));
 void crypto_pk_free_(crypto_pk_t *env);
 #define crypto_pk_free(pk) FREE_AND_NULL(crypto_pk_t, crypto_pk_free_, (pk))
index 6532f09c2f0435d0b410da72f4d5af38717e159d..18382ba7c99f5e07c9bfd0e76b4f82c24f37b171 100644 (file)
@@ -715,7 +715,7 @@ protover_all_supported(const char *s, char **missing_out)
             versions->high = i;
           }
           /* If the last one to be unsupported is one less than the current
-           * one, we're in a continous range, so set the high field. */
+           * one, we're in a continuous range, so set the high field. */
           if ((versions->high && versions->high == i - 1) ||
               /* Similarly, if the last high wasn't set and we're currently
                * one higher than the low, add current index as the highest