Home | History | Annotate | Download | only in ssl

Lines Matching refs:cert

260   ret->cert = ssl_cert_new(method->x509_method);
261 if (ret->cert == NULL) {
339 ssl_cert_free(ctx->cert);
382 ssl->cert = ssl_cert_dup(ctx->cert);
383 if (ssl->cert == NULL) {
480 ssl_cert_free(ssl->cert);
1078 static int set_session_id_context(CERT *cert
1080 if (sid_ctx_len > sizeof(cert->sid_ctx)) {
1085 OPENSSL_COMPILE_ASSERT(sizeof(cert->sid_ctx) < 256, sid_ctx_too_large);
1086 cert->sid_ctx_length = (uint8_t)sid_ctx_len;
1087 OPENSSL_memcpy(cert->sid_ctx, sid_ctx, sid_ctx_len);
1093 return set_session_id_context(ctx->cert, sid_ctx, sid_ctx_len);
1098 return set_session_id_context(ssl->cert, sid_ctx, sid_ctx_len);
1102 *out_len = ssl->cert->sid_ctx_length;
1103 return ssl->cert->sid_ctx;
1116 void SSL_certs_clear(SSL *ssl) { ssl_cert_clear_certs(ssl->cert); }
1269 /* Fix this so it checks all the valid key/cert options */
1271 return ssl_cert_check_private_key(ctx->cert, ctx->cert->privatekey);
1276 return ssl_cert_check_private_key(ssl->cert, ssl->cert->privatekey);
1458 DH_free(ctx->cert->dh_tmp);
1459 ctx->cert->dh_tmp = DHparams_dup(dh);
1460 if (ctx->cert->dh_tmp == NULL) {
1468 DH_free(ssl->cert->dh_tmp);
1469 ssl->cert->dh_tmp = DHparams_dup(dh);
1470 if (ssl->cert->dh_tmp == NULL) {
1912 if (ssl->cert != NULL) {
1913 return ssl->cert->privatekey;
1920 if (ctx->cert != NULL) {
1921 return ctx->cert->privatekey;
2014 ssl_cert_free(ssl->cert);
2015 ssl->cert = ssl_cert_dup(ctx->cert);
2099 ctx->cert->dh_tmp_cb = callback;
2104 ssl->cert->dh_tmp_cb = callback;