summaryrefslogtreecommitdiff
path: root/lib/libcrypto
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2014-04-26 11:08:11 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2014-04-26 11:08:11 +0000
commit85bd34f5d43ba2bcef08100ca5f53a09a44921e5 (patch)
treeb31554c59d068dd727f2e6e06d31793361124472 /lib/libcrypto
parentdb094de87b0d6f0423f727ff9c48a68ce7617334 (diff)
Do you really want to build OpenSSL for 16-bit Windows? Well, we don't.
ok miod@
Diffstat (limited to 'lib/libcrypto')
-rw-r--r--lib/libcrypto/txt_db/txt_db.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/libcrypto/txt_db/txt_db.c b/lib/libcrypto/txt_db/txt_db.c
index 69fd2ba5bf0..a2afa3df234 100644
--- a/lib/libcrypto/txt_db/txt_db.c
+++ b/lib/libcrypto/txt_db/txt_db.c
@@ -157,17 +157,13 @@ TXT_DB_read(BIO *in, int num)
}
*(p++)='\0';
if ((n != num) || (*f != '\0')) {
-#if !defined(OPENSSL_NO_STDIO) && !defined(OPENSSL_SYS_WIN16) /* temporary fix :-( */
fprintf(stderr, "wrong number of fields on line %ld (looking for field %d, got %d, '%s' left)\n",ln,num,n,f);
-#endif
er = 2;
goto err;
}
pp[n] = p;
if (!sk_OPENSSL_PSTRING_push(ret->data, pp)) {
-#if !defined(OPENSSL_NO_STDIO) && !defined(OPENSSL_SYS_WIN16) /* temporary fix :-( */
fprintf(stderr, "failure in sk_push\n");
-#endif
er = 2;
goto err;
}
@@ -177,10 +173,8 @@ TXT_DB_read(BIO *in, int num)
err:
BUF_MEM_free(buf);
if (er) {
-#if !defined(OPENSSL_NO_STDIO) && !defined(OPENSSL_SYS_WIN16)
if (er == 1)
fprintf(stderr, "malloc failure\n");
-#endif
if (ret != NULL) {
if (ret->data != NULL)
sk_OPENSSL_PSTRING_free(ret->data);