mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-02-03 12:28:30 +00:00
Tests/X509: make dn more generic in unit test
This commit is contained in:
parent
dc7f7e4d85
commit
62381365c8
@ -115,7 +115,7 @@ U9VQQSQzY1oZMVX8i1m5WUTLPz2yLJIBQVdXqhMCQBGoiuSoSjafUhV7i1cEGpb88h5NBYZzWXGZ
|
|||||||
37sJ5QsW+sJyoNde3xH8vdXhzU7eT82D6X/scw9RZz+/6rCJ4p0=
|
37sJ5QsW+sJyoNde3xH8vdXhzU7eT82D6X/scw9RZz+/6rCJ4p0=
|
||||||
-----END RSA PRIVATE KEY-----');
|
-----END RSA PRIVATE KEY-----');
|
||||||
$x509->setPrivateKey($rsa);
|
$x509->setPrivateKey($rsa);
|
||||||
$x509->setDN(array('cn' => 'ncgamers.org'));
|
$x509->setDN(array('cn' => 'website.com'));
|
||||||
$x509->saveCSR($x509->signCSR('sha256WithRSAEncryption'), FILE_X509_FORMAT_DER);
|
$x509->saveCSR($x509->signCSR('sha256WithRSAEncryption'), FILE_X509_FORMAT_DER);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user