aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-05-26 20:02:50 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2015-05-26 20:02:50 -0400
commitb1d59e76d3f6ebb5fdb08537593024e864331725 (patch)
tree6a6903c5e0a456a153a2e21fd255c9af4e7736f4
parent9b4c3132ac38beca887786b5528b05a2186a5bfe (diff)
downloadcryptography-b1d59e76d3f6ebb5fdb08537593024e864331725.tar.gz
cryptography-b1d59e76d3f6ebb5fdb08537593024e864331725.tar.bz2
cryptography-b1d59e76d3f6ebb5fdb08537593024e864331725.zip
bleh, fixed typos
-rw-r--r--src/cryptography/hazmat/bindings/openssl/x509.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cryptography/hazmat/bindings/openssl/x509.py b/src/cryptography/hazmat/bindings/openssl/x509.py
index 262163e4..55b57206 100644
--- a/src/cryptography/hazmat/bindings/openssl/x509.py
+++ b/src/cryptography/hazmat/bindings/openssl/x509.py
@@ -315,7 +315,7 @@ EC_KEY *d2i_ECPrivateKey_bio(BIO *, EC_KEY **);
int i2d_ECPrivateKey(EC_KEY *, unsigned char **);
int i2d_ECPrivateKey_bio(BIO *, EC_KEY *);
-EC_KEY *d2o_ECPrivateKey(EC_KEY **, const unsigned char **, long);
+EC_KEY *o2i_ECPrivateKey(EC_KEY **, const unsigned char **, long);
int i2o_ECPrivateKey(EC_KEY *, unsigned char **);
// declared in safestack
@@ -349,7 +349,7 @@ CONDITIONAL_NAMES = {
"d2i_ECPrivateKey_bio",
"i2d_ECPrivateKey",
"i2d_ECPrivateKey_bio",
- "i2o_ECPublicKey"
- "o2i_ECPublicKey",
+ "i2o_ECPrivateKey"
+ "o2i_ECPrivateKey",
]
}