Fix SSL_CTX_set_read_ahead macro.
authorBodo Möller <bodo@openssl.org>
Tue, 26 Sep 2000 11:25:44 +0000 (11:25 +0000)
committerBodo Möller <bodo@openssl.org>
Tue, 26 Sep 2000 11:25:44 +0000 (11:25 +0000)
Submitted by: Anders Gertz <gertz@epact.se>

ssl/ssl.h

index fdbdc70ba72fe50668938575d6c610176fae75f6..87e609ed379cdec1be8cda8412db16ba18138e61 100644 (file)
--- a/ssl/ssl.h
+++ b/ssl/ssl.h
@@ -1178,7 +1178,7 @@ int SSL_get_ex_data_X509_STORE_CTX_idx(void );
 #define SSL_CTX_get_read_ahead(ctx) \
        SSL_CTX_ctrl(ctx,SSL_CTRL_GET_READ_AHEAD,0,NULL)
 #define SSL_CTX_set_read_ahead(ctx,m) \
-       SSL_CTX_ctrl(ctx,SSL_CTRL_SET_READ_AHEAD,0,NULL)
+       SSL_CTX_ctrl(ctx,SSL_CTRL_SET_READ_AHEAD,m,NULL)
 
      /* NB: the keylength is only applicable when is_export is true */
 #ifndef NO_RSA