Enable PSK in FIPS mode.
[oweals/openssl.git] / ssl / s3_clnt.c
index 1b540112522720e21a70cfbffc164ae9b593066e..a6b3c01afa18ae7c26e87f45296131cc4e092dd3 100644 (file)
@@ -680,7 +680,8 @@ int ssl3_client_hello(SSL *s)
                /* else use the pre-loaded session */
 
                p=s->s3->client_random;
-               if (RAND_pseudo_bytes(p,SSL3_RANDOM_SIZE) <= 0)
+
+               if (ssl_fill_hello_random(s, 0, p, SSL3_RANDOM_SIZE) <= 0)
                        goto err;
 
                /* Do the message type and length last */