(Sorry :() missed a check in last commit...
authorColin Leroy <colin@colino.net>
Sat, 16 Nov 2002 15:03:51 +0000 (15:03 +0000)
committerColin Leroy <colin@colino.net>
Sat, 16 Nov 2002 15:03:51 +0000 (15:03 +0000)
ChangeLog.claws
configure.in
src/ssl_certificate.c

index 47fc828..63beca1 100644 (file)
@@ -1,3 +1,8 @@
+2002-11-15 [colin]     0.8.5claws159
+
+       * src/ssl_certificate.c
+               Missed a check
+
 2002-11-16 [melvin]    0.8.5claws158
 
        * po/fr.po
index 88c211b..144e3a7 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=5
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws158
+EXTRA_VERSION=claws159
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index c467f97..e70b859 100644 (file)
@@ -130,7 +130,7 @@ char* ssl_certificate_to_string(SSLCertificate *cert)
                                       NID_localityName, buf, 100) >= 0) {
                issuer_location = g_strdup(buf);
                if (X509_NAME_get_text_by_NID(X509_get_issuer_name(cert->x509_cert), 
-                                      NID_countryName, buf, 100))
+                                      NID_countryName, buf, 100) >= 0)
                        issuer_location = g_strconcat(issuer_location,", ",buf, NULL);
        } else if (X509_NAME_get_text_by_NID(X509_get_issuer_name(cert->x509_cert), 
                                       NID_countryName, buf, 100) >= 0)