[Bug 1147526] [NEW] man page for SSL_CTX_set_info_callback gives incorrect signature

Jean-Paul Calderone exarkun at twistedmatrix.com
Tue Mar 5 19:11:42 UTC 2013


Public bug reported:

The man page give these signatures:

        void SSL_CTX_set_info_callback(SSL_CTX *ctx, void (*callback)());
        void (*SSL_CTX_get_info_callback(const SSL_CTX *ctx))();

        void SSL_set_info_callback(SSL *ssl, void (*callback)());
        void (*SSL_get_info_callback(const SSL *ssl))();

but the correct signatures are actually:

    void SSL_CTX_set_info_callback(SSL_CTX *ctx, void (*cb)(const SSL *ssl,int type,int val));
    void (*SSL_CTX_get_info_callback(SSL_CTX *ctx))(const SSL *ssl,int type,int val);

    void SSL_set_info_callback(SSL *ssl, void (*cb)(const SSL *ssl,int type,int val));
    void (*SSL_get_info_callback(const SSL *ssl))(const SSL *ssl,int type,int val);

** Affects: openssl (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssl in Ubuntu.
https://bugs.launchpad.net/bugs/1147526

Title:
  man page for SSL_CTX_set_info_callback gives incorrect signature

Status in “openssl” package in Ubuntu:
  New

Bug description:
  The man page give these signatures:

          void SSL_CTX_set_info_callback(SSL_CTX *ctx, void (*callback)());
          void (*SSL_CTX_get_info_callback(const SSL_CTX *ctx))();

          void SSL_set_info_callback(SSL *ssl, void (*callback)());
          void (*SSL_get_info_callback(const SSL *ssl))();

  but the correct signatures are actually:

      void SSL_CTX_set_info_callback(SSL_CTX *ctx, void (*cb)(const SSL *ssl,int type,int val));
      void (*SSL_CTX_get_info_callback(SSL_CTX *ctx))(const SSL *ssl,int type,int val);

      void SSL_set_info_callback(SSL *ssl, void (*cb)(const SSL *ssl,int type,int val));
      void (*SSL_get_info_callback(const SSL *ssl))(const SSL *ssl,int type,int val);

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1147526/+subscriptions




More information about the foundations-bugs mailing list