Lines Matching refs:pkeys
76 ret->pkeys = OPENSSL_zalloc(ret->ssl_pkey_num * sizeof(CERT_PKEY)); in ssl_cert_new()
77 if (ret->pkeys == NULL) { in ssl_cert_new()
82 ret->key = &(ret->pkeys[SSL_PKEY_RSA]); in ssl_cert_new()
87 OPENSSL_free(ret->pkeys); in ssl_cert_new()
107 ret->pkeys = OPENSSL_zalloc(ret->ssl_pkey_num * sizeof(CERT_PKEY)); in ssl_cert_dup()
108 if (ret->pkeys == NULL) { in ssl_cert_dup()
113 ret->key = &ret->pkeys[cert->key - cert->pkeys]; in ssl_cert_dup()
115 OPENSSL_free(ret->pkeys); in ssl_cert_dup()
129 CERT_PKEY *cpk = cert->pkeys + i; in ssl_cert_dup()
130 CERT_PKEY *rpk = ret->pkeys + i; in ssl_cert_dup()
245 CERT_PKEY *cpk = c->pkeys + i; in ssl_cert_clear_certs()
289 OPENSSL_free(c->pkeys); in ssl_cert_free()
365 CERT_PKEY *cpk = c->pkeys + i; in ssl_cert_select_current()
373 CERT_PKEY *cpk = c->pkeys + i; in ssl_cert_select_current()
391 idx = (size_t)(c->key - c->pkeys + 1); in ssl_cert_set_current()
397 CERT_PKEY *cpk = c->pkeys + i; in ssl_cert_set_current()