source: src/router/php7/ext/openssl/tests/bug69882.phpt @ 30549

Last change on this file since 30549 was 30549, checked in by brainslayer, 11 months ago

php 7

File size: 396 bytes
Line 
1--TEST--
2Bug #69882: OpenSSL error "key values mismatch" after openssl_pkcs12_read with extra certs
3--SKIPIF--
4<?php
5if (!extension_loaded("openssl")) die("skip");
6?>
7--FILE--
8<?php
9$p12 = file_get_contents(__DIR__.'/p12_with_extra_certs.p12');
10
11$result = openssl_pkcs12_read($p12, $cert_data, 'qwerty');
12var_dump($result);
13var_dump(openssl_error_string());
14?>
15--EXPECTF--
16bool(true)
17bool(false)
Note: See TracBrowser for help on using the repository browser.