Simplify DSA public key handling.
[oweals/openssl.git] / crypto / rand / rand_lib.c
index 2f4dc09155b6de35a56a7133748660d492fd314f..0bbaf675e27494caff9eb9f9ce9a97fe8862e7a7 100644 (file)
@@ -159,6 +159,7 @@ int RAND_bytes(unsigned char *buf, int num)
     return (-1);
 }
 
+#ifndef OPENSSL_NO_DEPRECATED
 int RAND_pseudo_bytes(unsigned char *buf, int num)
 {
     const RAND_METHOD *meth = RAND_get_rand_method();
@@ -166,6 +167,7 @@ int RAND_pseudo_bytes(unsigned char *buf, int num)
         return meth->pseudorand(buf, num);
     return (-1);
 }
+#endif
 
 int RAND_status(void)
 {