Typo.
authorBen Laurie <ben@openssl.org>
Wed, 14 Apr 1999 11:13:47 +0000 (11:13 +0000)
committerBen Laurie <ben@openssl.org>
Wed, 14 Apr 1999 11:13:47 +0000 (11:13 +0000)
CHANGES
ssl/ssl.h

diff --git a/CHANGES b/CHANGES
index 8fe8d29..b331a7d 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -5,6 +5,9 @@
 
  Changes between 0.9.2b and 0.9.3
 
+  *) Fix typo in SSL_[gs]et_options().
+     [Nils Frostberg <nils@medcom.se>]
+
   *) Delete various functions and files that belonged to the (now obsolete)
      old X509V3 handling code.
      [Steve Henson]
index 4bb1a2e..bea99a7 100644 (file)
--- a/ssl/ssl.h
+++ b/ssl/ssl.h
@@ -297,9 +297,9 @@ typedef struct ssl_session_st
 #define SSL_CTX_get_options(ctx) \
        SSL_CTX_ctrl(ctx,SSL_CTRL_OPTIONS,0,NULL)
 #define SSL_set_options(ssl,op) \
-       SSL_ctrl(ctx,SSL_CTRL_OPTIONS,0,NULL)
+       SSL_ctrl(ssl,SSL_CTRL_OPTIONS,0,NULL)
 #define SSL_get_options(ssl) \
-        SSL_ctrl(ctx,SSL_CTRL_OPTIONS,0,NULL)
+        SSL_ctrl(ssl,SSL_CTRL_OPTIONS,0,NULL)
 
 #define SSL_OP_NO_SSLv2                                        0x01000000L
 #define SSL_OP_NO_SSLv3                                        0x02000000L