Home | History | Annotate | Download | only in syslogd

Lines Matching defs:pubkey

102 	switch (EVP_PKEY_base_id(GlobalSign.pubkey)) {
121 GlobalSign.pubkey);
157 * GlobalSign.privkey, and GlobalSign.pubkey
162 EVP_PKEY *pubkey = NULL, *privkey = NULL;
185 if (!(pubkey = X509_get_pubkey(cert))) {
193 * - but pubkey has to be freed with EVP_PKEY_free()
197 if (EVP_PKEY_DSA != EVP_PKEY_base_id(pubkey)) {
199 EVP_PKEY_free(pubkey);
201 pubkey = NULL;
207 GlobalSign.pubkey = pubkey;
231 if (!(privkey && pubkey)) { /* PKIX not available --> generate key */
259 GlobalSign.pubkey = privkey;
261 /* pubkey base64 encoding */
491 if (GlobalSign.pubkey) {
492 EVP_PKEY_free(GlobalSign.pubkey);
493 GlobalSign.pubkey = NULL;