mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
compiler warning: fix
Fix compiler warning: enumerated type mixed with another type
This commit is contained in:
parent
d30ddd9977
commit
79cc6c244a
@ -1255,7 +1255,7 @@ static CURLcode verifyhost(struct connectdata *conn,
|
||||
peer_CN = NULL;
|
||||
else {
|
||||
/* convert peer_CN from UTF8 */
|
||||
size_t rc = Curl_convert_from_utf8(data, peer_CN, strlen(peer_CN));
|
||||
CURLcode rc = Curl_convert_from_utf8(data, peer_CN, strlen(peer_CN));
|
||||
/* Curl_convert_from_utf8 calls failf if unsuccessful */
|
||||
if(rc) {
|
||||
OPENSSL_free(peer_CN);
|
||||
|
Loading…
Reference in New Issue
Block a user