Rerun util/openssl-format-source -v -c . OpenSSL_1_0_1-post-auto-reformat
authorMatt Caswell <matt@openssl.org>
Wed, 21 Jan 2015 23:56:21 +0000 (23:56 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 22 Jan 2015 09:38:49 +0000 (09:38 +0000)
Reviewed-by: Tim Hudson <tjh@openssl.org>
crypto/asn1/x_crl.c
crypto/bio/bss_file.c
crypto/ec/ecp_smpl.c
crypto/rsa/rsa_eay.c
engines/e_padlock.c
ssl/d1_srvr.c
ssl/s2_srvr.c
ssl/s3_lib.c
ssl/s3_srvr.c
ssl/ssl_sess.c

index cd5c0bfb187383dde2490fdd9b79576aebbfffc9..e258c714b2499b840b57c35a423361cc1379894b 100644 (file)
@@ -344,6 +344,7 @@ IMPLEMENT_ASN1_FUNCTIONS(X509_REVOKED)
 IMPLEMENT_ASN1_FUNCTIONS(X509_CRL_INFO)
 
 IMPLEMENT_ASN1_FUNCTIONS(X509_CRL)
+
 IMPLEMENT_ASN1_DUP_FUNCTION(X509_CRL)
 
 static int X509_REVOKED_cmp(const X509_REVOKED *const *a,
@@ -510,4 +511,5 @@ IMPLEMENT_STACK_OF(X509_REVOKED)
 IMPLEMENT_ASN1_SET_OF(X509_REVOKED)
 
 IMPLEMENT_STACK_OF(X509_CRL)
+
 IMPLEMENT_ASN1_SET_OF(X509_CRL)
index d3da7e789f78324f1fee2b7e9c7d011e9829dd1c..d7f15b0699c91d202e1033619a1e71a1aa9ea467 100644 (file)
@@ -239,8 +239,7 @@ static int MS_CALLBACK file_read(BIO *b, char *out, int outl)
         else
             ret = fread(out, 1, (int)outl, (FILE *)b->ptr);
         if (ret == 0
-            && (b->
-                flags & BIO_FLAGS_UPLINK) ? UP_ferror((FILE *)b->ptr) :
+            && (b->flags & BIO_FLAGS_UPLINK) ? UP_ferror((FILE *)b->ptr) :
             ferror((FILE *)b->ptr)) {
             SYSerr(SYS_F_FREAD, get_last_sys_error());
             BIOerr(BIO_F_FILE_READ, ERR_R_SYS_LIB);
index 4e75709053fd4a468b53d18487eb32bd75116d20..d196dedfb31471c93426303a27bcf82731a7cc42 100644 (file)
@@ -1299,9 +1299,8 @@ int ec_GFp_simple_points_make_affine(const EC_GROUP *group, size_t num,
 
     for (i = 1; i < num; i++) {
         if (!BN_is_zero(&points[i]->Z)) {
-            if (!group->
-                meth->field_mul(group, prod_Z[i], prod_Z[i - 1],
-                                &points[i]->Z, ctx))
+            if (!group->meth->field_mul(group, prod_Z[i], prod_Z[i - 1],
+                                        &points[i]->Z, ctx))
                 goto err;
         } else {
             if (!BN_copy(prod_Z[i], prod_Z[i - 1]))
index a6df3be59b70576cabcc98a26da3c129f38fb7a1..b147fff8bd6086e1f712459521a98c4e00492458 100644 (file)
@@ -842,9 +842,8 @@ static int RSA_eay_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx)
         goto err;
 
     if (rsa->e && rsa->n) {
-        if (!rsa->
-            meth->bn_mod_exp(vrfy, r0, rsa->e, rsa->n, ctx,
-                             rsa->_method_mod_n))
+        if (!rsa->meth->bn_mod_exp(vrfy, r0, rsa->e, rsa->n, ctx,
+                                   rsa->_method_mod_n))
             goto err;
         /*
          * If 'I' was greater than (or equal to) rsa->n, the operation will
index a7683c56584ac8950b0701fe983e6dbf187e5a15..ab9d5fb89276a3d6088eb53a2d7d3088f677741b 100644 (file)
@@ -587,7 +587,9 @@ pushfd cld mov esi, ecx mov edi, ecx mov ecx, 60 up:lodsd
 #    if defined(NID_aes_256_ofb128) && ! defined (NID_aes_256_ofb)
 #     define NID_aes_256_ofb NID_aes_256_ofb128
 #    endif
-/* List of supported ciphers. */ static int padlock_cipher_nids[] = {
+/*
+ * List of supported ciphers.
+ */ static int padlock_cipher_nids[] = {
     NID_aes_128_ecb,
     NID_aes_128_cbc,
     NID_aes_128_cfb,
index 5b52e2c3e823294fd4a05e5dd47d9e96832b8e1d..c4ec9fe108451837033c6f7a5c1cc4b31e0b2b50 100644 (file)
@@ -475,8 +475,7 @@ int dtls1_accept(SSL *s)
                 || ((alg_k & SSL_kRSA)
                     && (s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL
                         || (SSL_C_IS_EXPORT(s->s3->tmp.new_cipher)
-                            && EVP_PKEY_size(s->cert->
-                                             pkeys
+                            && EVP_PKEY_size(s->cert->pkeys
                                              [SSL_PKEY_RSA_ENC].privatekey) *
                             8 > SSL_C_EXPORT_PKEYLENGTH(s->s3->tmp.new_cipher)
                         )
index 65ccce3e02c28473f8cc2102b54b270bf747974a..daba6dd7addc6177d1cc465a5b6ea60adc094a13 100644 (file)
@@ -484,8 +484,7 @@ static int get_client_master_key(SSL *s)
     if ((i < 0) || ((!is_export && (i != EVP_CIPHER_key_length(c)))
                     || (is_export && ((i != ek)
                                       || (s->s2->tmp.clear +
-                                          (unsigned int)i !=
-                                          (unsigned int)
+                                          (unsigned int)i != (unsigned int)
                                           EVP_CIPHER_key_length(c)))))) {
         ERR_clear_error();
         if (is_export)
index 93c9c269d39ea49c0bd6c1fbe3f7bc23a2363c94..de917d3f836ff20f2c8c888cfcc9fe9fe543f948 100644 (file)
@@ -3980,9 +3980,8 @@ SSL_CIPHER *ssl3_choose_cipher(SSL *s, STACK_OF(SSL_CIPHER) *clnt,
                          j++) {
                         if ((s->session->tlsext_ellipticcurvelist[2 * j] ==
                              ec_search1)
-                            && (s->
-                                session->tlsext_ellipticcurvelist[2 * j +
-                                                                  1] ==
+                            && (s->session->tlsext_ellipticcurvelist[2 * j +
+                                                                     1] ==
                                 ec_search2)) {
                             ec_ok = 1;
                             break;
@@ -4035,9 +4034,8 @@ SSL_CIPHER *ssl3_choose_cipher(SSL *s, STACK_OF(SSL_CIPHER) *clnt,
                          j++) {
                         if ((s->session->tlsext_ellipticcurvelist[2 * j] ==
                              ec_search1)
-                            && (s->
-                                session->tlsext_ellipticcurvelist[2 * j +
-                                                                  1] ==
+                            && (s->session->tlsext_ellipticcurvelist[2 * j +
+                                                                     1] ==
                                 ec_search2)) {
                             ec_ok = 1;
                             break;
index 9989d4420e76c7560329700f2719f50f88c039af..486362d22102dde6082485133f35b8cffc1f8e83 100644 (file)
@@ -475,8 +475,7 @@ int ssl3_accept(SSL *s)
                 || ((alg_k & SSL_kRSA)
                     && (s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL
                         || (SSL_C_IS_EXPORT(s->s3->tmp.new_cipher)
-                            && EVP_PKEY_size(s->cert->
-                                             pkeys
+                            && EVP_PKEY_size(s->cert->pkeys
                                              [SSL_PKEY_RSA_ENC].privatekey) *
                             8 > SSL_C_EXPORT_PKEYLENGTH(s->s3->tmp.new_cipher)
                         )
index 4c230b0c2f754aab6ea5260abcc2fd9f1452345d..74c1d1537f39b23c34818a4a4b5c2be387267f58 100644 (file)
@@ -505,8 +505,7 @@ int ssl_get_prev_session(SSL *s, unsigned char *session_id, int len,
 
     if (try_session_cache &&
         ret == NULL &&
-        !(s->
-          session_ctx->session_cache_mode &
+        !(s->session_ctx->session_cache_mode &
           SSL_SESS_CACHE_NO_INTERNAL_LOOKUP)) {
         SSL_SESSION data;
         data.ssl_version = s->version;
@@ -547,8 +546,7 @@ int ssl_get_prev_session(SSL *s, unsigned char *session_id, int len,
              * well if and only if we are supposed to.
              */
             if (!
-                (s->
-                 session_ctx->session_cache_mode &
+                (s->session_ctx->session_cache_mode &
                  SSL_SESS_CACHE_NO_INTERNAL_STORE))
                 /*
                  * The following should not return 1, otherwise, things are