diff options
author | Daniel Stenberg <daniel@haxx.se> | 2008-06-11 17:01:58 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2008-06-11 17:01:58 +0000 |
commit | 04d5c8fb779afdb4f7e85a701f8b4b987a4016ee (patch) | |
tree | 622d3243f17ed29f4df5b3405de5a78599b86e32 /lib/nss.c | |
parent | 5980b3cbb09c4c06340433041b825cc9bed00eca (diff) |
- I did a cleanup of the internal generic SSL layer and how the various SSL
libraries are supported. Starting now, each underlying SSL library support
code does a set of defines for the 16 functions the generic layer (sslgen.c)
uses (all these new function defines use the prefix "curlssl_"). This
greatly simplified the generic layer in readability by involving much less
#ifdefs and other preprocessor stuff and should make it easier for people to
make libcurl work with new SSL libraries.
Hopefully I can later on document these 16 functions somewhat as well.
I also made most of the internal SSL-dependent functions (using Curl_ssl_
prefix) #defined to nothing when no SSL support is requested - previously
they would unnecessarily call mostly empty functions.
Diffstat (limited to 'lib/nss.c')
-rw-r--r-- | lib/nss.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -743,7 +743,8 @@ static void display_conn_info(struct connectdata *conn, PRFileDesc *sock) * issuer check, so we provide comments that mimic the OpenSSL * X509_check_issued function (in x509v3/v3_purp.c) */ -static SECStatus check_issuer_cert(struct connectdata *conn, PRFileDesc *sock, +static SECStatus check_issuer_cert(struct connectdata *conn, + PRFileDesc *sock, char* issuer_nickname) { CERTCertificate *cert,*cert_issuer,*issuer; |