Yet more pissing about to get PEM built at the right moment.
[openssl.git] / crypto / txt_db / txt_db.c
index e34ce4efa9d558644aefb38a630607ee022de278..dccb2b9513e3f1ee7970513a98ed98e0a9e1d54f 100644 (file)
@@ -66,7 +66,7 @@
 #undef BUFSIZE
 #define BUFSIZE        512
 
-char *TXT_DB_version="TXT_DB part of SSLeay 0.9.0b 29-Jun-1998";
+char *TXT_DB_version="TXT_DB part of OpenSSL 0.9.2 31-Dec-1998";
 
 TXT_DB *TXT_DB_read(in,num)
 BIO *in;
@@ -356,6 +356,9 @@ TXT_DB *db;
        int i,n;
        char **p,*max;
 
+       if(db == NULL)
+           return;
+
        if (db->index != NULL)
                {
                for (i=db->num_fields-1; i>=0; i--)