projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implement saving of the certificate chain, making the offline status
[claws.git]
/
src
/
ssl_manager.c
diff --git
a/src/ssl_manager.c
b/src/ssl_manager.c
index 6cc058c87ae4e15dfcc8231d4feb4d3978abb507..6b2f6650078d9e92e3c0c64a727035a83e47092e 100644
(file)
--- a/
src/ssl_manager.c
+++ b/
src/ssl_manager.c
@@
-341,7
+341,7
@@
static void ssl_manager_load_certs (void)
gchar *server, *port, *fp;
SSLCertificate *cert;
- if(
!strstr(d->d_name, ".cert"
))
+ if(
strstr(d->d_name, ".cert") != d->d_name + (strlen(d->d_name) - strlen(".cert")
))
continue;
server = get_server(d->d_name);