X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Ftxt_db%2Ftxt_db.c;h=dccb2b9513e3f1ee7970513a98ed98e0a9e1d54f;hp=ebd7bf27911417fa62ba8f50b55906d30d9b79b6;hb=d433f9014edac49202f34ba464534eafd4bf6701;hpb=320a14cb5b12cbdd2ff4d81c1e9a2ea7a139a038 diff --git a/crypto/txt_db/txt_db.c b/crypto/txt_db/txt_db.c index ebd7bf2791..dccb2b9513 100644 --- a/crypto/txt_db/txt_db.c +++ b/crypto/txt_db/txt_db.c @@ -66,7 +66,7 @@ #undef BUFSIZE #define BUFSIZE 512 -char *TXT_DB_version="TXT_DB part of OpenSSL 0.9.1c 23-Dec-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--)