Copying this from 1297025 (from the same reporter):

The man page for SSL_CTX_set_session_cache_mode gives its signature as:

    long SSL_CTX_set_session_cache_mode(SSL_CTX ctx, long mode);

The correct signature is:

    long SSL_CTX_set_session_cache_mode(SSL_CTX *ctx, long mode);

The same goes for SSL_CTX_get_session_cache_mode, documented in the same
manual page.



Same bug in the SSL_CTX_add_extra_chain_cert manual page.


** Changed in: openssl (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Confirmed

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to