summaryrefslogtreecommitdiffstats
path: root/src/network/ssl/qsslsocket_openssl_symbols.cpp
diff options
context:
space:
mode:
authorRaul Metsma <raul@innovaatik.ee>2009-09-01 08:14:07 (GMT)
committerPeter Hartmann <peter.hartmann@trolltech.com>2009-09-01 08:14:07 (GMT)
commit16edcd5ff94ecc731146e3703aaf25cd6bb3fb67 (patch)
tree056f368df580cd919620811e85d5be208691bd82 /src/network/ssl/qsslsocket_openssl_symbols.cpp
parent76d18f5f06f55c7f908ceb9fba4cac41c0c852f8 (diff)
downloadQt-16edcd5ff94ecc731146e3703aaf25cd6bb3fb67.zip
Qt-16edcd5ff94ecc731146e3703aaf25cd6bb3fb67.tar.gz
Qt-16edcd5ff94ecc731146e3703aaf25cd6bb3fb67.tar.bz2
Implement QSslCertificate::version() and QSslCertificate::serialNumber()
Task-number: 251830 Merge-request: 1383 Reviewed-by: Peter Hartmann <peter.hartmann@trolltech.com>
Diffstat (limited to 'src/network/ssl/qsslsocket_openssl_symbols.cpp')
-rw-r--r--src/network/ssl/qsslsocket_openssl_symbols.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/ssl/qsslsocket_openssl_symbols.cpp b/src/network/ssl/qsslsocket_openssl_symbols.cpp
index 5b04a57..d3dcd51 100644
--- a/src/network/ssl/qsslsocket_openssl_symbols.cpp
+++ b/src/network/ssl/qsslsocket_openssl_symbols.cpp
@@ -94,6 +94,7 @@ QT_BEGIN_NAMESPACE
#ifdef SSLEAY_MACROS
DEFINEFUNC3(void *, ASN1_dup, i2d_of_void *a, a, d2i_of_void *b, b, char *c, c, return 0, return)
#endif
+DEFINEFUNC(long, ASN1_INTEGER_get, ASN1_INTEGER *a, a, return 0, return)
DEFINEFUNC(unsigned char *, ASN1_STRING_data, ASN1_STRING *a, a, return 0, return)
DEFINEFUNC(int, ASN1_STRING_length, ASN1_STRING *a, a, return 0, return)
DEFINEFUNC4(long, BIO_ctrl, BIO *a, a, int b, b, long c, c, void *d, d, return -1, return)
@@ -608,6 +609,7 @@ bool q_resolveOpenSslSymbols()
#ifdef SSLEAY_MACROS
RESOLVEFUNC(ASN1_dup)
#endif
+ RESOLVEFUNC(ASN1_INTEGER_get)
RESOLVEFUNC(ASN1_STRING_data)
RESOLVEFUNC(ASN1_STRING_length)
RESOLVEFUNC(BIO_ctrl)