diff options
author | rse <rse> | 1998-12-22 15:04:24 +0000 |
---|---|---|
committer | rse <rse> | 1998-12-22 15:04:24 +0000 |
commit | a6d8990e515fdbc1446b8fed44dcfdfe49be469c (patch) | |
tree | e7b9aebe7d25e1ed8f9d584020d2efd1b7389932 /crypto/txt_db | |
parent | cec4933b86a2f10bea2006dbbf900e92249b9347 (diff) | |
download | openssl-a6d8990e515fdbc1446b8fed44dcfdfe49be469c.tar.gz |
Various cleanups and fixed by Marc and Ralf to start the OpenTLS project
Diffstat (limited to 'crypto/txt_db')
-rw-r--r-- | crypto/txt_db/.cvsignore | 1 | ||||
-rw-r--r-- | crypto/txt_db/txt_db.c | 10 |
2 files changed, 6 insertions, 5 deletions
diff --git a/crypto/txt_db/.cvsignore b/crypto/txt_db/.cvsignore new file mode 100644 index 000000000..a65b41774 --- /dev/null +++ b/crypto/txt_db/.cvsignore @@ -0,0 +1 @@ +lib diff --git a/crypto/txt_db/txt_db.c b/crypto/txt_db/txt_db.c index ae8db3917..4e59fa067 100644 --- a/crypto/txt_db/txt_db.c +++ b/crypto/txt_db/txt_db.c @@ -1,5 +1,5 @@ /* crypto/txt_db/txt_db.c */ -/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) +/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written @@ -66,7 +66,7 @@ #undef BUFSIZE #define BUFSIZE 512 -char *TXT_DB_version="TXT_DB part of SSLeay 0.8.1b 29-Jun-1998"; +char *TXT_DB_version="TXT_DB part of SSLeay 0.9.1c 22-Dec-1998"; TXT_DB *TXT_DB_read(in,num) BIO *in; @@ -157,7 +157,7 @@ int num; *(p++)='\0'; if ((n != num) || (*f != '\0')) { -#ifndef WIN16 /* temporaty fix :-( */ +#if !defined(NO_STDIO) && !defined(WIN16) /* temporaty fix :-( */ fprintf(stderr,"wrong number of fields on line %ld\n",ln); #endif er=2; @@ -166,7 +166,7 @@ int num; pp[n]=p; if (!sk_push(ret->data,(char *)pp)) { -#ifndef WIN16 /* temporaty fix :-( */ +#if !defined(NO_STDIO) && !defined(WIN16) /* temporaty fix :-( */ fprintf(stderr,"failure in sk_push\n"); #endif er=2; @@ -178,7 +178,7 @@ err: BUF_MEM_free(buf); if (er) { -#ifndef WIN16 +#if !defined(NO_STDIO) && !defined(WIN16) if (er == 1) fprintf(stderr,"Malloc failure\n"); #endif if (ret->data != NULL) sk_free(ret->data); |