--- a/components/openssl/openssl-1.0.1/patches/30_wanboot.patch Thu Aug 14 07:20:57 2014 -0700
+++ b/components/openssl/openssl-1.0.1/patches/30_wanboot.patch Fri Aug 15 15:07:33 2014 -0700
@@ -237,6 +237,20 @@
#include <errno.h>
#include <stdio.h>
+@@ -179,6 +181,7 @@
+ return(ret);
+ }
+
++#ifndef _BOOT
+ int RAND_write_file(const char *file)
+ {
+ unsigned char buf[BUFSIZE];
+@@ -327,3 +330,5 @@
+ #endif
+ return(buf);
+ }
++
++#endif /* _BOOT */
--- openssl-1.0.0e/crypto/x509v3/v3_utl.c 2009-07-27 14:08:53.000000000 -0700
+++ openssl-1.0.0e_patched/crypto/x509v3/v3_utl.c 2011-12-13 05:10:08.844191400 -0800
@@ -659,9 +659,52 @@