Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: openssl/crypto/des/enc_writ.c

Issue 9254031: Upgrade chrome's OpenSSL to same version Android ships with. (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/openssl/
Patch Set: '' Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « openssl/crypto/des/enc_read.c ('k') | openssl/crypto/des/fcrypt_b.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: openssl/crypto/des/enc_writ.c
===================================================================
--- openssl/crypto/des/enc_writ.c (revision 105093)
+++ openssl/crypto/des/enc_writ.c (working copy)
@@ -80,6 +80,9 @@
int DES_enc_write(int fd, const void *_buf, int len,
DES_key_schedule *sched, DES_cblock *iv)
{
+#if defined(OPENSSL_NO_POSIX_IO)
+ return (-1);
+#else
#ifdef _LIBC
extern unsigned long time();
extern int write();
@@ -172,4 +175,5 @@
}
return(len);
+#endif /* OPENSSL_NO_POSIX_IO */
}
« no previous file with comments | « openssl/crypto/des/enc_read.c ('k') | openssl/crypto/des/fcrypt_b.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698