diff options
author | corvid <devnull@localhost> | 2015-05-18 19:58:32 +0000 |
---|---|---|
committer | corvid <devnull@localhost> | 2015-05-18 19:58:32 +0000 |
commit | 6820308491f5e9052dfd2e645d96f6030d2feab9 (patch) | |
tree | 0262c6a018692cd8253c977056d7ff6807149177 | |
parent | 2017cd774654df9ddd4411dabe28126ecaa27226 (diff) |
make it clearer that ssl popups are about security (well, if one's WM shows titles)
I've noticed how users on forums can be like "Oh, it must be something about
bugs in dillo. But it manages to load the page". This is a degree of
misunderstanding which I wouldn't expect from anyone interested in using
dillo, but there it is, so I should deal with it.
-rw-r--r-- | src/IO/ssl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/IO/ssl.c b/src/IO/ssl.c index 56d8d271..856d94b5 100644 --- a/src/IO/ssl.c +++ b/src/IO/ssl.c @@ -551,7 +551,7 @@ static bool_t Ssl_check_cert_hostname(X509 *cert, const DilloUrl *url, success = FALSE; msg = dStrconcat("No certificate subject alternative name matches" " requested host name \n", host, NULL); - *choice = a_Dialog_choice("Dillo SSL", + *choice = a_Dialog_choice("Dillo SSL security warning", msg, "Continue", "Cancel", NULL); dFree(msg); @@ -580,7 +580,7 @@ static bool_t Ssl_check_cert_hostname(X509 *cert, const DilloUrl *url, success = FALSE; msg = dStrconcat("Certificate common name ", common_name, " doesn't match requested host name ", host, NULL); - *choice = a_Dialog_choice("Dillo SSL", + *choice = a_Dialog_choice("Dillo SSL security warning", msg, "Continue", "Cancel", NULL); dFree(msg); @@ -626,7 +626,7 @@ static bool_t Ssl_check_cert_hostname(X509 *cert, const DilloUrl *url, "character). This may be an indication that the " "host is not who it claims to be -- that is, not " "the real ", host, NULL); - *choice = a_Dialog_choice("Dillo SSL", + *choice = a_Dialog_choice("Dillo SSL security warning", msg, "Continue", "Cancel", NULL); dFree(msg); @@ -658,7 +658,7 @@ static int Ssl_examine_certificate(SSL *ssl, const DilloUrl *url) long st; char buf[4096], *cn, *msg; int choice = -1, ret = -1; - char *title = dStrconcat("Dillo SSL: ", URL_HOST(url), NULL); + char *title = dStrconcat("Dillo SSL security warning: ",URL_HOST(url),NULL); Server_t *srv = dList_find_custom(servers, url, Ssl_servers_cmp); remote_cert = SSL_get_peer_certificate(ssl); |