summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSybren A. St?vel <sybren@stuvel.eu>2011-07-30 20:13:09 +0200
committerSybren A. St?vel <sybren@stuvel.eu>2011-07-30 20:13:09 +0200
commitc542cec82472c7e67f3ecd0e0fa857c8cdbdefd8 (patch)
tree3165a7fbb85abc8d1dc1cb097495cb350c19774d /tests
parent17a17262fbff5c504fb8af3ffc7c7b89bf0364e3 (diff)
downloadrsa-c542cec82472c7e67f3ecd0e0fa857c8cdbdefd8.tar.gz
Ignore fields in PEM-encoded files
Diffstat (limited to 'tests')
-rw-r--r--tests/test_load_save_keys.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_load_save_keys.py b/tests/test_load_save_keys.py
index facb826..466a3f5 100644
--- a/tests/test_load_save_keys.py
+++ b/tests/test_load_save_keys.py
@@ -16,6 +16,8 @@ PRIVATE_PEM = '''
Cruft before the key
-----BEGIN RSA PRIVATE KEY-----
+Comment: something blah
+
%s
-----END RSA PRIVATE KEY-----
@@ -34,6 +36,8 @@ PUBLIC_PEM = '''
Cruft before the key
-----BEGIN RSA PUBLIC KEY-----
+Comment: something blah
+
%s
-----END RSA PUBLIC KEY-----