1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-08 14:02:17 +03:00

codespell fixes, removed MSDOS preprocessor macros

This commit is contained in:
Georg Richter
2020-11-26 09:07:17 +01:00
parent 79137a4ae1
commit 820faff627
16 changed files with 32 additions and 48 deletions

View File

@@ -591,7 +591,7 @@ void schannel_free_store(HCERTSTORE store)
/*
Verify server certificate against a wincrypt store
@return 0 - success, otherwise error occured.
@return 0 - success, otherwise error occurred.
*/
SECURITY_STATUS schannel_verify_server_certificate(
const CERT_CONTEXT* cert,
@@ -663,7 +663,7 @@ static SECURITY_STATUS load_private_key(CERT_CONTEXT* cert, char* private_key_st
}
/*
To accomodate for both "BEGIN PRIVATE KEY" vs "BEGIN RSA PRIVATE KEY"
To accommodate for both "BEGIN PRIVATE KEY" vs "BEGIN RSA PRIVATE KEY"
sections in PEM, we try to decode with PKCS_PRIVATE_KEY_INFO first,
and, if it fails, with PKCS_RSA_PRIVATE_KEY flag.
*/