Lines 46-52
Link Here
|
46 |
|
46 |
|
47 |
if (ssl->version == TLS1_VERSION) |
47 |
if (ssl->version == TLS1_VERSION) |
48 |
sessInfo.version = TLS::TLS_v1; |
48 |
sessInfo.version = TLS::TLS_v1; |
49 |
@@ -7133,8 +7139,10 @@ public: |
49 |
@@ -6880,7 +6886,9 @@ static QStringList all_hash_types() |
|
|
50 |
{ |
51 |
QStringList list; |
52 |
list += "sha1"; |
53 |
+#ifdef HAVE_OPENSSL_SHA0 |
54 |
list += "sha0"; |
55 |
+#endif |
56 |
list += "ripemd160"; |
57 |
#ifdef HAVE_OPENSSL_MD2 |
58 |
list += "md2"; |
59 |
@@ -7133,8 +7141,10 @@ public: |
50 |
return new opensslInfoContext(this); |
60 |
return new opensslInfoContext(this); |
51 |
else if ( type == "sha1" ) |
61 |
else if ( type == "sha1" ) |
52 |
return new opensslHashContext( EVP_sha1(), this, type); |
62 |
return new opensslHashContext( EVP_sha1(), this, type); |