Convert rand functions to accept bytes instead of bytes or text
diff --git a/OpenSSL/rand/rand.c b/OpenSSL/rand/rand.c
index 8c23015..fabf805 100644
--- a/OpenSSL/rand/rand.c
+++ b/OpenSSL/rand/rand.c
@@ -45,7 +45,7 @@
     int size;
     double entropy;
 
-    if (!PyArg_ParseTuple(args, "s#d:add", &buf, &size, &entropy))
+    if (!PyArg_ParseTuple(args, BYTESTRING_FMT "#d:add", &buf, &size, &entropy))
         return NULL;
 
     RAND_add(buf, size, entropy);
@@ -67,7 +67,7 @@
     char *buf;
     int size;
 
-    if (!PyArg_ParseTuple(args, "s#:seed", &buf, &size))
+    if (!PyArg_ParseTuple(args, BYTESTRING_FMT "#:seed", &buf, &size))
         return NULL;
 
     RAND_seed(buf, size);