Home
last modified time | relevance | path

Searched refs:certbuf (Results 1 – 3 of 3) sorted by relevance

/external/curl/lib/vtls/
Dgtls.c1017 char certbuf[256] = ""; /* big enough? */ in gtls_connect_step3() local
1254 size = sizeof(certbuf); in gtls_connect_step3()
1258 certbuf, in gtls_connect_step3()
1319 "target host name '%s'", certbuf, dispname); in gtls_connect_step3()
1325 certbuf, dispname); in gtls_connect_step3()
1328 infof(data, "\t common name: %s (matched)\n", certbuf); in gtls_connect_step3()
1413 size = sizeof(certbuf); in gtls_connect_step3()
1414 gnutls_x509_crt_get_dn(x509_cert, certbuf, &size); in gtls_connect_step3()
1415 infof(data, "\t subject: %s\n", certbuf); in gtls_connect_step3()
1423 size = sizeof(certbuf); in gtls_connect_step3()
[all …]
Dsectransp.c2119 unsigned char *certbuf, *der; local
2122 if(read_cert(cafile, &certbuf, &buflen) < 0) {
2139 free(certbuf);
2151 res = pem_to_der((const char *)certbuf + offset, &der, &derlen);
2153 free(certbuf);
2163 rc = append_cert_to_array(data, certbuf, buflen, array);
2164 free(certbuf);
2173 free(certbuf);
2180 free(certbuf);
/external/openssh/
Dsshkey.c1839 cert_parse(struct sshbuf *b, struct sshkey *key, struct sshbuf *certbuf) in cert_parse() argument
1848 if ((ret = sshbuf_putb(key->cert->certblob, certbuf)) != 0) in cert_parse()