diff options
Diffstat (limited to 'libpurple/certificate.c')
-rw-r--r-- | libpurple/certificate.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libpurple/certificate.c b/libpurple/certificate.c index f331c7ee15..ff6337bd93 100644 --- a/libpurple/certificate.c +++ b/libpurple/certificate.c @@ -99,7 +99,8 @@ invalidity_reason_to_string(PurpleCertificateInvalidityFlags flag) "that can verify it is currently trusted."); break; case PURPLE_CERTIFICATE_NOT_ACTIVATED: - return _("The certificate is not valid yet."); + return _("The certificate is not valid yet. Check that your " + "computer's date and time are accurate."); break; case PURPLE_CERTIFICATE_EXPIRED: return _("The certificate has expired and should not be " @@ -714,6 +715,7 @@ x509_singleuse_start_verify (PurpleCertificateVerificationRequest *vrq) x509_singleuse_verify_cb ); /* Cleanup */ + g_free(cn); g_free(primary); g_free(secondary); g_free(sha_asc); @@ -859,6 +861,7 @@ x509_ca_lazy_init(void) purple_debug_info("certificate/x509/ca", "Loaded %s from %s\n", name ? name : "(unknown)", fullpath); + g_free(name); } else { purple_debug_error("certificate/x509/ca", "Failed to load certificate from %s\n", @@ -1535,6 +1538,7 @@ x509_tls_cached_check_subject_name(PurpleCertificateVerificationRequest *vrq, "Name mismatch: Certificate given for %s " "has a name of %s\n", vrq->subject_name, sn); + g_free(sn); } x509_tls_cached_complete(vrq, flags); |