aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorJoey Yandle <xoloki@gmail.com>2016-05-16 12:30:41 -0700
committerRich Salz <rsalz@openssl.org>2016-05-29 13:36:59 -0400
commit73241290bc15d708bb9ec8bb48891df1e5485e3e (patch)
treee1f4d1004d2071a8027ecfaebe1eecd5141b8468 /crypto
parentad0f926c9c556b5369ce98aa128e4db4463ac12d (diff)
downloadopenssl-73241290bc15d708bb9ec8bb48891df1e5485e3e.tar.gz
add removed functions back as deprecated
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1079)
Diffstat (limited to 'crypto')
-rw-r--r--crypto/rand/rand_win.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/crypto/rand/rand_win.c b/crypto/rand/rand_win.c
index 3bbf73509a..46cbe1494c 100644
--- a/crypto/rand/rand_win.c
+++ b/crypto/rand/rand_win.c
@@ -65,6 +65,19 @@ int RAND_poll(void)
return (1);
}
+#if OPENSSL_API_COMPAT < 0x00101000L
+int RAND_event(UINT iMsg, WPARAM wParam, LPARAM lParam)
+{
+ RAND_poll();
+ return RAND_status();
+}
+
+void RAND_screen(void)
+{
+ RAND_poll();
+}
+#endif
+
/* feed timing information to the PRNG */
static void readtimer(void)
{