tlsv1_set_ca_cert() function
tlsv1_set_ca_cert - Set trusted CA certificate(s) @cred: TLSv1 credentials from tlsv1_cred_alloc() @cert: File or reference name for X.509 certificate in PEM or DER format @cert_blob: cert as inlined data or %NULL if not used @cert_blob_len: ca_cert_blob length @path: Path to CA certificates (not yet supported) Returns: 0 on success, -1 on failure