mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
The OpenSSL manual recommends a buffer size of 80 for OBJ_oid2txt: https://www.openssl.org/docs/crypto/OBJ_nid2ln.html#return_values. But OIDs longer than this occur in real life (e.g. Active Directory makes some very long OIDs). If the length of the stringified OID exceeds the buffer size, allocate a new buffer that is big enough to hold the stringified OID, and re-do the conversion into the new buffer. |
||
|---|---|---|
| .. | ||
| custom-vectors | ||
| c-bindings.rst | ||
| getting-started.rst | ||
| index.rst | ||
| reviewing-patches.rst | ||
| submitting-patches.rst | ||
| test-vectors.rst | ||