Bug 1307101 - ssl_example.py: typo in cert.SEC_CERT_NICKNAMES_USER
ssl_example.py: typo in cert.SEC_CERT_NICKNAMES_USER
Status: NEW
Product: Fedora
Classification: Fedora
Component: python-nss (Show other bugs)
All All
unspecified Severity low
: ---
: ---
Assigned To: John Dennis
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2016-02-12 12:20 EST by Timo Juhani Lindfors
Modified: 2017-07-25 16:47 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Timo Juhani Lindfors 2016-02-12 12:20:07 EST
Description of problem:

Function client_auth_data_callback in doc/examples/ssl_example.py sets

    cert = None

and then tries to use that later in the function:

    nicknames = nss.get_cert_nicknames(certdb, cert.SEC_CERT_NICKNAMES_USER)

Version-Release number of selected component (if applicable):

hg 121:83b2a9beef7d

Additional info:

The line in question should probably be changed to

    nicknames = nss.get_cert_nicknames(certdb, nss.SEC_CERT_NICKNAMES_USER)
Comment 1 Jan Kurik 2016-02-24 10:44:52 EST
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
Comment 2 Fedora End Of Life 2017-07-25 15:55:51 EDT
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Note You need to log in before you can comment on or make changes to this bug.