projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Yet more pissing about to get PEM built at the right moment.
[openssl.git]
/
crypto
/
txt_db
/
txt_db.c
diff --git
a/crypto/txt_db/txt_db.c
b/crypto/txt_db/txt_db.c
index 4e59fa06767e7fb858193be6d8adb2d748ea2d7f..dccb2b9513e3f1ee7970513a98ed98e0a9e1d54f 100644
(file)
--- a/
crypto/txt_db/txt_db.c
+++ b/
crypto/txt_db/txt_db.c
@@
-66,7
+66,7
@@
#undef BUFSIZE
#define BUFSIZE 512
#undef BUFSIZE
#define BUFSIZE 512
-char *TXT_DB_version="TXT_DB part of
SSLeay 0.9.1c 22
-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;
TXT_DB *TXT_DB_read(in,num)
BIO *in;
@@
-356,6
+356,9
@@
TXT_DB *db;
int i,n;
char **p,*max;
int i,n;
char **p,*max;
+ if(db == NULL)
+ return;
+
if (db->index != NULL)
{
for (i=db->num_fields-1; i>=0; i--)
if (db->index != NULL)
{
for (i=db->num_fields-1; i>=0; i--)