mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-06-19 19:33:38 +08:00
Fix tlcp/tls12_client
This commit is contained in:
@@ -259,7 +259,7 @@ bad:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!(hp = gethostbyname(host))) {
|
if (!(hp = gethostbyname(host))) {
|
||||||
fprintf(stderr, "%s: failed to parse host name\n", prog, host);
|
fprintf(stderr, "%s: failed to parse host name '%s'\n", prog, host);
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -236,7 +236,7 @@ bad:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!(hp = gethostbyname(host))) {
|
if (!(hp = gethostbyname(host))) {
|
||||||
fprintf(stderr, "%s: failed to parse host name\n", prog, host);
|
fprintf(stderr, "%s: failed to parse host name '%s'\n", prog, host);
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user