diff options
author | Yang Tse <yangsita@gmail.com> | 2009-04-03 12:08:32 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-04-03 12:08:32 +0000 |
commit | 0211e420edc2f5759e90852dcf9bff221e6dc2bf (patch) | |
tree | ea6d989fde7479c8e265dbd1c5e13e5c5975ca92 | |
parent | 9a184e0bb149631ee5e080aecb609eef2e7869f1 (diff) |
fix compiler warning: passing arg 1 of `sk_num' from incompatible pointer type
-rw-r--r-- | lib/ssluse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c index eb645d5e7..f1c499358 100644 --- a/lib/ssluse.c +++ b/lib/ssluse.c @@ -420,7 +420,7 @@ int cert_stuff(struct connectdata *conn, return 0; } /* Set Certificate Verification chain */ - if (ca && sk_num(ca)) { + if (ca && sk_X509_num(ca)) { for (i = 0; i < sk_X509_num(ca); i++) { if (!SSL_CTX_add_extra_chain_cert(ctx,sk_X509_value(ca, i))) { failf(data, "cannot add certificate to certificate chain"); |