]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
remove end of line spaces
authorPauli <paul.dale@oracle.com>
Tue, 16 Jul 2019 10:35:42 +0000 (20:35 +1000)
committerPauli <paul.dale@oracle.com>
Tue, 16 Jul 2019 10:35:42 +0000 (20:35 +1000)
Reviewed-by: Paul Yang <yang.yang@baishancloud.com>
(Merged from https://github.com/openssl/openssl/pull/9397)

apps/s_client.c
crypto/evp/e_aes.c
crypto/initthread.c
include/openssl/core.h
providers/common/provlib.c
providers/fips/fipsprov.c
test/testutil/driver.c

index a9a6552706902f2aa4e6be9e421ec80c1a5cd5fa..016df7c657e2fe9933dc0e2c7ebf5f4f07bfad01 100644 (file)
@@ -2017,7 +2017,7 @@ int s_client_main(int argc, char **argv)
 
     if (!noservername && (servername != NULL || dane_tlsa_domain == NULL)) {
         if (servername == NULL) {
-            if(host == NULL || is_dNS_name(host)) 
+            if(host == NULL || is_dNS_name(host))
                 servername = (host == NULL) ? "localhost" : host;
         }
         if (servername != NULL && !SSL_set_tlsext_host_name(con, servername)) {
@@ -3552,7 +3552,7 @@ static char *base64encode (const void *buf, size_t len)
 }
 
 /*
- * Host dNS Name verifier: used for checking that the hostname is in dNS format 
+ * Host dNS Name verifier: used for checking that the hostname is in dNS format
  * before setting it as SNI
  */
 static int is_dNS_name(const char *host)
index cb05bce32f6537abb7fda91577b9dff41a2a9864..d687a2cac31eacb6da2269a2aac5857c74743c9f 100644 (file)
@@ -267,7 +267,7 @@ static int aesni_xts_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
 
         /*
          * Verify that the two keys are different.
-         * 
+         *
          * This addresses Rogaway's vulnerability.
          * See comment in aes_xts_init_key() below.
          */
@@ -599,7 +599,7 @@ static int aes_t4_xts_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
 
         /*
          * Verify that the two keys are different.
-         * 
+         *
          * This addresses Rogaway's vulnerability.
          * See comment in aes_xts_init_key() below.
          */
index 99cd96ceb83e4693d1f01c2ef7e1177875b4abe7..b3f45b9dc49c6f447b42a0ad20b7fe1339f3bf7b 100644 (file)
@@ -21,7 +21,7 @@
  * we have our own copy of ossl_init_thread_start, which cascades notifications
  * about threads stopping from libcrypto to all the code in the FIPS provider
  * that needs to know about it.
- * 
+ *
  * The FIPS provider tells libcrypto about which threads it is interested in
  * by calling "c_thread_start" which is a function pointer created during
  * provider initialisation (i.e. OSSL_init_provider).
index 848b71431aa9bcca0cbe117d3e70ea0094017535..e9bc4891cbf254a0b9cc2e3ce60080cbf300a2c2 100644 (file)
@@ -146,7 +146,7 @@ struct ossl_param_st {
 /*
  * Typedef for the thread stop handling callback. Used both internally and by
  * providers.
- * 
+ *
  * Providers may register for notifications about threads stopping by
  * registering a callback to hear about such events. Providers register the
  * callback using the OSSL_FUNC_CORE_THREAD_START function in the |in| dispatch
index 43da7cdaba0c5fb1795b7a821ade1879e7366f2e..2bab77dba0737f82e4f9d2347ee18de70e4e4181 100644 (file)
@@ -16,6 +16,6 @@
  */
 const char *ossl_prov_util_nid_to_name(int nid)
 {
-   return OBJ_nid2sn(nid); 
+   return OBJ_nid2sn(nid);
 }
 
index 8978d1bc5bbbef0ae38c7bfa705e52a5387447af..c1fbe4a3f57c917dec172313a9f04b90655d7d2f 100644 (file)
@@ -132,7 +132,7 @@ static int dummy_evp_call(void *provctx)
         || !BN_add(a, a, b)
         || BN_cmp(a, b) != 0)
         goto err;
-    
+
     if (RAND_DRBG_bytes(drbg, randbuf, sizeof(randbuf)) <= 0)
         goto err;
 
@@ -143,7 +143,7 @@ static int dummy_evp_call(void *provctx)
  err:
     BN_CTX_end(bnctx);
     BN_CTX_free(bnctx);
-    
+
     EVP_MD_CTX_free(ctx);
     EVP_MD_meth_free(sha256);
     return ret;
index 2904a4fbd0343af059d4d3581a80d8a4a457f7de..40ed3736c5d22901060503ca58ccda18ac8900e4 100644 (file)
@@ -162,9 +162,9 @@ static int check_single_test_params(char *name, char *testname, char *itname)
             if (strcmp(name, all_tests[i].test_case_name) == 0) {
                 single_test = 1 + i;
                 break;
-            } 
+            }
         }
-        if (i >= num_tests) 
+        if (i >= num_tests)
             single_test = atoi(name);
     }