From: Pauli Date: Fri, 18 Jun 2021 07:50:54 +0000 (+1000) Subject: crypto: repalce tabs with spaces X-Git-Tag: openssl-3.0.0-beta2~276 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d05bfc12541c95fb41a560cb813255c6aafdb2d7;p=thirdparty%2Fopenssl.git crypto: repalce tabs with spaces Reviewed-by: Richard Levitte Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/15824) --- diff --git a/crypto/asn1/x_algor.c b/crypto/asn1/x_algor.c index ff83ce4fefd..3f9cb8b3a19 100644 --- a/crypto/asn1/x_algor.c +++ b/crypto/asn1/x_algor.c @@ -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; diff --git a/crypto/property/property.c b/crypto/property/property.c index 535120b5812..c3f1c5ac587 100644 --- a/crypto/property/property.c +++ b/crypto/property/property.c @@ -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) diff --git a/crypto/rsa/rsa_sp800_56b_gen.c b/crypto/rsa/rsa_sp800_56b_gen.c index 365996fd072..6a8e9816890 100644 --- a/crypto/rsa/rsa_sp800_56b_gen.c +++ b/crypto/rsa/rsa_sp800_56b_gen.c @@ -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;