diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-07-23 19:10:28 +0100 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-07-23 19:10:28 +0100 |
commit | 8bfbacef9cb973115c0cf0f4185c8f47812c37bc (patch) | |
tree | b55cce2d6132a82a8aac9308d493cdcdda9ef8d1 /src/_cffi_src/openssl/asn1.py | |
parent | 32a92b6afaf0086f2b0e6b9cf7235576b06503b0 (diff) | |
download | cryptography-8bfbacef9cb973115c0cf0f4185c8f47812c37bc.tar.gz cryptography-8bfbacef9cb973115c0cf0f4185c8f47812c37bc.tar.bz2 cryptography-8bfbacef9cb973115c0cf0f4185c8f47812c37bc.zip |
when building a CSR adding > 1 extension would trigger a bug
We were checking sk_X509_EXTENSION_push for a value == 1, but
in reality it returns the number of extensions on the stack. We
now assert >= 1 and added a test.
Diffstat (limited to 'src/_cffi_src/openssl/asn1.py')
0 files changed, 0 insertions, 0 deletions