projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Import of old SSLeay release: SSLeay 0.9.0b
[oweals/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 ae8db3917bfeaee3f4c2b40a0f72b3925214072a..e34ce4efa9d558644aefb38a630607ee022de278 100644
(file)
--- a/
crypto/txt_db/txt_db.c
+++ b/
crypto/txt_db/txt_db.c
@@
-1,5
+1,5
@@
/* crypto/txt_db/txt_db.c */
/* crypto/txt_db/txt_db.c */
-/* Copyright (C) 1995-199
7
Eric Young (eay@cryptsoft.com)
+/* Copyright (C) 1995-199
8
Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* All rights reserved.
*
* This package is an SSL implementation written
@@
-66,7
+66,7
@@
#undef BUFSIZE
#define BUFSIZE 512
#undef BUFSIZE
#define BUFSIZE 512
-char *TXT_DB_version="TXT_DB part of SSLeay 0.
8.1
b 29-Jun-1998";
+char *TXT_DB_version="TXT_DB part of SSLeay 0.
9.0
b 29-Jun-1998";
TXT_DB *TXT_DB_read(in,num)
BIO *in;
TXT_DB *TXT_DB_read(in,num)
BIO *in;
@@
-157,7
+157,7
@@
int num;
*(p++)='\0';
if ((n != num) || (*f != '\0'))
{
*(p++)='\0';
if ((n != num) || (*f != '\0'))
{
-#if
ndef 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;
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))
{
pp[n]=p;
if (!sk_push(ret->data,(char *)pp))
{
-#if
ndef WIN16
/* temporaty fix :-( */
+#if
!defined(NO_STDIO) && !defined(WIN16)
/* temporaty fix :-( */
fprintf(stderr,"failure in sk_push\n");
#endif
er=2;
fprintf(stderr,"failure in sk_push\n");
#endif
er=2;
@@
-178,7
+178,7
@@
err:
BUF_MEM_free(buf);
if (er)
{
BUF_MEM_free(buf);
if (er)
{
-#if
ndef WIN16
+#if
!defined(NO_STDIO) && !defined(WIN16)
if (er == 1) fprintf(stderr,"Malloc failure\n");
#endif
if (ret->data != NULL) sk_free(ret->data);
if (er == 1) fprintf(stderr,"Malloc failure\n");
#endif
if (ret->data != NULL) sk_free(ret->data);