From c4a3b62a306bd2869b3053f4e4130d9dcaf826d5 Mon Sep 17 00:00:00 2001 From: Craig Citro Date: Thu, 19 Jun 2014 22:21:46 -0700 Subject: [PATCH] Correct a typo. --- oauth2client/crypt.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/oauth2client/crypt.py b/oauth2client/crypt.py index d2d7a3b..af3cf76 100644 --- a/oauth2client/crypt.py +++ b/oauth2client/crypt.py @@ -235,7 +235,7 @@ try: pkey = RSA.importKey(parsed_pem_key) else: raise NotImplementedError( - 'PKCS12 format is not supported by the PyCrpto library. ' + 'PKCS12 format is not supported by the PyCrypto library. ' 'Try converting to a "PEM" ' '(openssl pkcs12 -in xxxxx.p12 -nodes -nocerts > privatekey.pem) ' 'or using PyOpenSSL if native code is an option.') @@ -259,13 +259,13 @@ else: def _parse_pem_key(raw_key_input): """Identify and extract PEM keys. - + Determines whether the given key is in the format of PEM key, and extracts the relevant part of the key if it is. - + Args: raw_key_input: The contents of a private key file (either PEM or PKCS12). - + Returns: string, The actual key if the contents are from a PEM file, or else None. """