mirror of
https://github.com/izzy2lost/android_openssl.git
synced 2026-06-19 01:20:12 -07:00
It's a simple check at runtime to see if ssl is supported using the included libs.
18 lines
263 B
C++
18 lines
263 B
C++
#include <QtTest>
|
|
#include <QSslSocket>
|
|
|
|
class tst_OpenSsl : public QObject
|
|
{
|
|
Q_OBJECT
|
|
private slots:
|
|
void supportsSsl();
|
|
};
|
|
|
|
void tst_OpenSsl::supportsSsl() {
|
|
QVERIFY(QSslSocket::supportsSsl());
|
|
}
|
|
|
|
QTEST_MAIN(tst_OpenSsl)
|
|
|
|
#include "tst_openssl.moc"
|