crypto: repalce tabs with spaces
authorPauli <pauli@openssl.org>
Fri, 18 Jun 2021 07:50:54 +0000 (17:50 +1000)
committerPauli <pauli@openssl.org>
Sat, 19 Jun 2021 05:54:06 +0000 (15:54 +1000)
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15824)

crypto/asn1/x_algor.c
crypto/property/property.c
crypto/rsa/rsa_sp800_56b_gen.c

index ff83ce4fefdde21ad1c0234e0e79d3929eb1d01b..3f9cb8b3a19dc89751bbd3ecd5c258c01ed762a6 100644 (file)
@@ -98,7 +98,7 @@ int X509_ALGOR_cmp(const X509_ALGOR *a, const X509_ALGOR *b)
 int X509_ALGOR_copy(X509_ALGOR *dest, const X509_ALGOR *src)
 {
     if (src == NULL || dest == NULL)
-       return 0;
+        return 0;
 
     if (dest->algorithm)
          ASN1_OBJECT_free(dest->algorithm);
@@ -110,7 +110,7 @@ int X509_ALGOR_copy(X509_ALGOR *dest, const X509_ALGOR *src)
 
     if (src->algorithm)
         if ((dest->algorithm = OBJ_dup(src->algorithm)) == NULL)
-           return 0;
+            return 0;
 
     if (src->parameter != NULL) {
         dest->parameter = ASN1_TYPE_new();
@@ -122,7 +122,7 @@ int X509_ALGOR_copy(X509_ALGOR *dest, const X509_ALGOR *src)
          */
         if (ASN1_TYPE_set1(dest->parameter, 
               src->parameter->type, src->parameter->value.ptr) == 0)
-           return 0;
+            return 0;
     }
 
     return 1;
index 535120b581241780663d8a33bc96a9e33e1af0ed..c3f1c5ac587f46ca953cfaf0376f4139dd950e7d 100644 (file)
@@ -412,7 +412,7 @@ int ossl_method_store_fetch(OSSL_METHOD_STORE *store, int nid,
 
 #ifndef FIPS_MODULE
     if (!OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CONFIG, NULL))
-       return 0;
+        return 0;
 #endif
 
     if (nid <= 0 || method == NULL || store == NULL)
index 365996fd07255e8d212729564589d62500e17c70..6a8e9816890f403bf1822b53925583178a34ce82 100644 (file)
@@ -285,7 +285,7 @@ int ossl_rsa_sp800_56b_derive_params_from_pq(RSA *rsa, int nbits,
     if (rsa->dmp1 == NULL)
         rsa->dmp1 = BN_secure_new();
     if (rsa->dmp1 == NULL)
-           goto err;
+            goto err;
     BN_set_flags(rsa->dmp1, BN_FLG_CONSTTIME);
     if (!BN_mod(rsa->dmp1, rsa->d, p1, ctx))
         goto err;
@@ -294,7 +294,7 @@ int ossl_rsa_sp800_56b_derive_params_from_pq(RSA *rsa, int nbits,
     if (rsa->dmq1 == NULL)
         rsa->dmq1 = BN_secure_new();
     if (rsa->dmq1 == NULL)
-           goto err;
+            goto err;
     BN_set_flags(rsa->dmq1, BN_FLG_CONSTTIME);
     if (!BN_mod(rsa->dmq1, rsa->d, q1, ctx))
         goto err;
@@ -303,7 +303,7 @@ int ossl_rsa_sp800_56b_derive_params_from_pq(RSA *rsa, int nbits,
     BN_free(rsa->iqmp);
     rsa->iqmp = BN_secure_new();
     if (rsa->iqmp == NULL)
-           goto err;
+            goto err;
     BN_set_flags(rsa->iqmp, BN_FLG_CONSTTIME);
     if (BN_mod_inverse(rsa->iqmp, rsa->q, rsa->p, ctx) == NULL)
         goto err;