diff options
author | Tomas Mraz <tomas@openssl.org> | 2021-12-21 16:05:52 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-01-03 10:35:36 +0100 |
commit | c7debe811123951a60cdfe73716184ca8fdd79d2 (patch) | |
tree | b8d5321a0cce625369c54ac27dd1f0a88ae8dd4a /test/certs | |
parent | 5b5342e04ff24d5138c054c1677c32729d47e938 (diff) | |
download | openssl-c7debe811123951a60cdfe73716184ca8fdd79d2.zip openssl-c7debe811123951a60cdfe73716184ca8fdd79d2.tar.gz openssl-c7debe811123951a60cdfe73716184ca8fdd79d2.tar.bz2 |
Test that PEM_BUFSIZE is passed into pem_password_cb
When pem_password_cb is used from SSL_CTX, its size
parameter should be equal to PEM_BUFSIZE.
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/17320)
Diffstat (limited to 'test/certs')
-rw-r--r-- | test/certs/leaf-encrypted.key | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/test/certs/leaf-encrypted.key b/test/certs/leaf-encrypted.key new file mode 100644 index 0000000..99a802d --- /dev/null +++ b/test/certs/leaf-encrypted.key @@ -0,0 +1,30 @@ +-----BEGIN ENCRYPTED PRIVATE KEY----- +MIIFLTBXBgkqhkiG9w0BBQ0wSjApBgkqhkiG9w0BBQwwHAQIEBBNanZFjs8CAggA +MAwGCCqGSIb3DQIJBQAwHQYJYIZIAWUDBAECBBDr8bhquxPf762O3jk0LAtJBIIE +0FQB7c06dpoHn1KBn8jTzsLIdVR0SeKUvq4edZfUPbB/6go97j48BwSzAaXY7BNL +90GRMrNNjKZDLeNf0wwf1+67YX7neGnb+LdxpQdqEjOTGQdwTx9SG6XIqT8x4R67 +rI2DQqI937FSor9292koXQNM9Asoenn6kOCITaa8chsPdKCtFjfVmqZRMaewr5PW +W1rooFuCVAIfgBOOaEeN7OMTJRdAGtWWOJqyLB29gXxwaI1+PnXmkHPgRGXZYz7W +N5lTp1xvFPY+Rp/cK0DfeR5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