aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-05-26 08:26:20 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-05-26 08:28:38 +0200
commitd23cc224e6d25eec99a988f4db18c040bde3e97b (patch)
tree5ea8c47ef7862a636c0cc2b7bd98f9d0c5ffdb05 /lib/vtls
parentad829b21ae9e0f11a821a0a98a1aaab161efa9a2 (diff)
cleanup: use a single space after equals sign in assignments
Diffstat (limited to 'lib/vtls')
-rw-r--r--lib/vtls/openssl.c2
-rw-r--r--lib/vtls/schannel_verify.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
index 2988a0c16..e4d50fe08 100644
--- a/lib/vtls/openssl.c
+++ b/lib/vtls/openssl.c
@@ -4439,7 +4439,7 @@ static CURLcode Curl_ossl_sha256sum(const unsigned char *tmp, /* input */
unsigned int len = 0;
(void) unused;
- mdctx = EVP_MD_CTX_create();
+ mdctx = EVP_MD_CTX_create();
EVP_DigestInit_ex(mdctx, EVP_sha256(), NULL);
EVP_DigestUpdate(mdctx, tmp, tmplen);
EVP_DigestFinal_ex(mdctx, sha256sum, &len);
diff --git a/lib/vtls/schannel_verify.c b/lib/vtls/schannel_verify.c
index ead24c177..aca279114 100644
--- a/lib/vtls/schannel_verify.c
+++ b/lib/vtls/schannel_verify.c
@@ -361,7 +361,7 @@ static DWORD cert_get_name_string(struct Curl_easy *data,
return actual_length;
}
- decode_para.cbSize = sizeof(CRYPT_DECODE_PARA);
+ decode_para.cbSize = sizeof(CRYPT_DECODE_PARA);
ret_val =
CryptDecodeObjectEx(X509_ASN_ENCODING | PKCS_7_ASN_ENCODING,